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 TypeClassDescriptionclassThis 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 TypeMethodDescriptionvoidConfigures the ellipses button by adding listeners.protected JButtonCreates the ellipses button.protected LayoutManagerstatic ComponentUIprotected Insetsprotected StringFetches the name used as a key to lookup properties through the UIManager.protected RectangleGets the allocation to give the root View.protected voidvoidprotected voidMethods inherited from class javax.swing.plaf.basic.BasicTextFieldUI
create, getBaseline, getBaselineResizeBehaviorMethods 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, viewToModel2DMethods inherited from class javax.swing.plaf.TextUI
getToolTipText2DMethods 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:
getPropertyPrefixin classBasicTextFieldUI- Returns:
- the name ("TextField")
-
installUI
- Overrides:
installUIin classBasicTextUI
-
installDefaults
protected void installDefaults()- Overrides:
installDefaultsin 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:
getVisibleEditorRectin classBasicTextUI- Returns:
- the bounding box for the root view
-
paintSafely
- Overrides:
paintSafelyin 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:
getPreferredSizein classBasicTextUI
-
getMinimumSize
- Overrides:
getMinimumSizein classBasicTextUI
-
getMaximumSize
- Overrides:
getMaximumSizein classBasicTextUI
-