Class LabeledHpr<T extends JComponent>
java.lang.Object
com.inductiveautomation.snap.ui.UIHelper<T>
com.inductiveautomation.snap.swing.SwingHelper<T>
com.inductiveautomation.snap.swing.helpers.JComponentHpr<T>
com.inductiveautomation.snap.swing.helpers.LabeledHpr<T>
- Direct Known Subclasses:
- AbstractButtonHpr,- JLabelHpr
This class is the superclass for labels and buttons which handles attributes common to both classes.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetChildCount(T anObj) Override to suppress children.abstract intgetHorizontalAlignment(T aLabeled) Standard button or label property.abstract intgetHorizontalTextPosition(T aLabeled) Standard button or label property.abstract IconReturns the button or label icon.abstract intgetIconTextGap(T aLabeled) Standard button or label property.getPropertyNamesImpl(T anObj) Returns the property names for given object.abstract intgetVerticalAlignment(T aLabeled) Standard button or label property.abstract intgetVerticalTextPosition(T aLabeled) Standard button or label property.abstract voidsetHorizontalAlignment(T aLabeled, int aValue) Standard button or label property.abstract voidsetHorizontalTextPosition(T aLabeled, int aValue) Standard button or label property.abstract voidSets the button or label icon.abstract voidsetIconTextGap(T aLabeled, int aValue) Standard button or label property.abstract voidsetVerticalAlignment(T aLabeled, int aValue) Standard button or label property.abstract voidsetVerticalTextPosition(T aLabeled, int aValue) Standard button or label property.Methods inherited from class com.inductiveautomation.snap.swing.helpers.JComponentHpraddBinding, createEventAdapter, getAutosizing, getBinding, getBindingCount, getBindings, getChangeListener, getChild, getConstraints, getEventAdapter, getName, getOwner, getParent, getSendActionOnFocusLost, getSendActionOnFocusLostDefault, initUI, isEnabled, removeBinding, setConstraints, setEnabled, setOwner, setSendActionOnFocusLostMethods inherited from class com.inductiveautomation.snap.swing.SwingHelpergetHelper, getSwingHelper, getSwingHelperMethods inherited from class com.inductiveautomation.snap.ui.UIHelperenableEvents, getAction, getBinding, getChild, getItemDisplayKey, getItems, getKeyValue, getPropertyNameMapped, getPropertyNames, getSelectedIndex, getSelectedIndexes, getSelectedIndexs, getSelectedItem, getText, getValue, initUIDeep, isEnabled, isPropertyName, isValueAdjusting, removeBinding, setAction, setEnabled, setItemDisplayKey, setItems, setItems, setKeyValue, setSelectedIndex, setSelectedIndexes, setSelectedItem, setText, setValue
- 
Constructor Details- 
LabeledHprpublic LabeledHpr()
 
- 
- 
Method Details- 
getChildCountOverride to suppress children.- Overrides:
- getChildCountin class- JComponentHpr<T extends JComponent>
 
- 
getIconReturns the button or label icon.
- 
setIconSets the button or label icon.
- 
getHorizontalAlignmentStandard button or label property.
- 
setHorizontalAlignmentStandard button or label property.
- 
getVerticalAlignmentStandard button or label property.
- 
setVerticalAlignmentStandard button or label property.
- 
getHorizontalTextPositionStandard button or label property.
- 
setHorizontalTextPositionStandard button or label property.
- 
getVerticalTextPositionStandard button or label property.
- 
setVerticalTextPositionStandard button or label property.
- 
getIconTextGapStandard button or label property.
- 
setIconTextGapStandard button or label property.
- 
getPropertyNamesImplReturns the property names for given object.- Overrides:
- getPropertyNamesImplin class- JComponentHpr<T extends JComponent>
 
 
-