/** * @return the rectangle allocated by the text field, including the space * allocated by the child components left and right, the text fields * original border insets and the outer margin. * */ protected Rectangle getVisibleRect() { Rectangle alloc = SwingUtilities.getLocalBounds(textField); substractInsets(alloc, getRealBorderInsets()); substractInsets(alloc, BuddySupport.getOuterMargin(textField)); return alloc; }
/** * @return the rectangle allocated by the text field, including the space * allocated by the child components left and right, the text fields * original border insets and the outer margin. * */ protected Rectangle getVisibleRect() { Rectangle alloc = SwingUtilities.getLocalBounds(textField); substractInsets(alloc, getRealBorderInsets()); substractInsets(alloc, BuddySupport.getOuterMargin(textField)); return alloc; }
/** * @return the rectangle allocated by the text field, including the space * allocated by the child components left and right, the text fields * original border insets and the outer margin. * */ protected Rectangle getVisibleRect() { Rectangle alloc = SwingUtilities.getLocalBounds(textField); substractInsets(alloc, getRealBorderInsets()); substractInsets(alloc, BuddySupport.getOuterMargin(textField)); return alloc; }
/** * @return the rectangle allocated by the text field, including the space * allocated by the child components left and right, the text fields * original border insets and the outer margin. * */ protected Rectangle getVisibleRect() { Rectangle alloc = SwingUtilities.getLocalBounds(textField); substractInsets(alloc, getRealBorderInsets()); substractInsets(alloc, BuddySupport.getOuterMargin(textField)); return alloc; }