Package hec.gui.plaf.basic
Class BasicTimeZoneFieldUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextFieldUI
hec.gui.plaf.basic.BasicTimeZoneFieldUI
- All Implemented Interfaces:
ViewFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
This layout manager handles the 'standard' layout of combo boxes.Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Configures the ellipses button by adding listeners.protected JButton
Creates the ellipses button.protected LayoutManager
static ComponentUI
protected Insets
protected String
Fetches the name used as a key to lookup properties through the UIManager.protected Rectangle
Gets the allocation to give the root View.protected void
void
protected void
Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI
create, getBaseline, getBaselineResizeBehavior
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getNextVisualPositionFrom, getRootView, getToolTipText, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, modelToView2D, paint, paintBackground, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel, viewToModel2D
Methods inherited from class javax.swing.plaf.TextUI
getToolTipText2D
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
Field Details
-
cachedMinimumSize
-
-
Constructor Details
-
BasicTimeZoneFieldUI
public BasicTimeZoneFieldUI()
-
-
Method Details
-
createUI
-
getPropertyPrefix
Fetches the name used as a key to lookup properties through the UIManager. This is used as a prefix to all the standard text properties.- Overrides:
getPropertyPrefix
in classBasicTextFieldUI
- Returns:
- the name ("TextField")
-
installUI
- Overrides:
installUI
in classBasicTextUI
-
installDefaults
protected void installDefaults()- Overrides:
installDefaults
in classBasicTextUI
-
getVisibleEditorRect
Gets the allocation to give the root View. Due to an unfortunate set of historical events this method is inappropriately named. The Rectangle returned has nothing to do with visibility.- Overrides:
getVisibleEditorRect
in classBasicTextUI
- Returns:
- the bounding box for the root view
-
paintSafely
- Overrides:
paintSafely
in classBasicTextUI
-
createEllipsesButton
Creates the ellipses button. Subclasses can create any button they like. The default behavior of this class is to attach various listeners to the button returned by this method. Returns an instance of BasicEllipsesButton. -
configureEllipsesButton
public void configureEllipsesButton()Configures the ellipses button by adding listeners. -
createLayoutManager
-
getInsets
-
getPreferredSize
- Overrides:
getPreferredSize
in classBasicTextUI
-
getMinimumSize
- Overrides:
getMinimumSize
in classBasicTextUI
-
getMaximumSize
- Overrides:
getMaximumSize
in classBasicTextUI
-