Class AbstractButtonHpr<T extends AbstractButton>
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>
com.inductiveautomation.snap.swing.helpers.AbstractButtonHpr<T>
- Direct Known Subclasses:
- JButtonHpr,- JToggleButtonHpr
JComponentHpr subclass for AbstractButtons.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetHorizontalAlignment(T aLabeled) Standard button or label property.intgetHorizontalTextPosition(T aLabeled) Standard button or label property.Returns the button or label icon.intgetIconTextGap(T aLabeled) Standard button or label property.getPropertyNameMapped(T anObj, String aPropertyName) Returns a mapped property name.Returns the text property of given object.intgetVerticalAlignment(T aLabeled) Standard button or label property.intgetVerticalTextPosition(T aLabeled) Standard button or label property.voidInitializes newly created object.voidsetHorizontalAlignment(T aLabeled, int aValue) Standard button or label property.voidsetHorizontalTextPosition(T aLabeled, int aValue) Standard button or label property.voidSets the button or label icon.voidsetIconTextGap(T aLabeled, int aValue) Standard button or label property.voidsetVerticalAlignment(T aLabeled, int aValue) Standard button or label property.voidsetVerticalTextPosition(T aLabeled, int aValue) Standard button or label property.Methods inherited from class com.inductiveautomation.snap.swing.helpers.LabeledHprgetChildCount, getPropertyNamesImplMethods inherited from class com.inductiveautomation.snap.swing.helpers.JComponentHpraddBinding, createEventAdapter, getAutosizing, getBinding, getBindingCount, getBindings, getChangeListener, getChild, getConstraints, getEventAdapter, getName, getOwner, getParent, getSendActionOnFocusLost, getSendActionOnFocusLostDefault, 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, getPropertyNames, getSelectedIndex, getSelectedIndexes, getSelectedIndexs, getSelectedItem, getValue, initUIDeep, isEnabled, isPropertyName, isValueAdjusting, removeBinding, setAction, setEnabled, setItemDisplayKey, setItems, setItems, setKeyValue, setSelectedIndex, setSelectedIndexes, setSelectedItem, setText, setValue
- 
Constructor Details- 
AbstractButtonHprpublic AbstractButtonHpr()
 
- 
- 
Method Details- 
initUIInitializes newly created object.- Overrides:
- initUIin class- JComponentHpr<T extends AbstractButton>
 
- 
getIconReturns the button or label icon.- Specified by:
- getIconin class- LabeledHpr<T extends AbstractButton>
 
- 
setIconSets the button or label icon.- Specified by:
- setIconin class- LabeledHpr<T extends AbstractButton>
 
- 
getHorizontalAlignmentStandard button or label property.- Specified by:
- getHorizontalAlignmentin class- LabeledHpr<T extends AbstractButton>
 
- 
setHorizontalAlignmentStandard button or label property.- Specified by:
- setHorizontalAlignmentin class- LabeledHpr<T extends AbstractButton>
 
- 
getVerticalAlignmentStandard button or label property.- Specified by:
- getVerticalAlignmentin class- LabeledHpr<T extends AbstractButton>
 
- 
setVerticalAlignmentStandard button or label property.- Specified by:
- setVerticalAlignmentin class- LabeledHpr<T extends AbstractButton>
 
- 
getHorizontalTextPositionStandard button or label property.- Specified by:
- getHorizontalTextPositionin class- LabeledHpr<T extends AbstractButton>
 
- 
setHorizontalTextPositionStandard button or label property.- Specified by:
- setHorizontalTextPositionin class- LabeledHpr<T extends AbstractButton>
 
- 
getVerticalTextPositionStandard button or label property.- Specified by:
- getVerticalTextPositionin class- LabeledHpr<T extends AbstractButton>
 
- 
setVerticalTextPositionStandard button or label property.- Specified by:
- setVerticalTextPositionin class- LabeledHpr<T extends AbstractButton>
 
- 
getIconTextGapStandard button or label property.- Specified by:
- getIconTextGapin class- LabeledHpr<T extends AbstractButton>
 
- 
setIconTextGapStandard button or label property.- Specified by:
- setIconTextGapin class- LabeledHpr<T extends AbstractButton>
 
- 
getPropertyNameMappedReturns a mapped property name.- Overrides:
- getPropertyNameMappedin class- UIHelper<T extends AbstractButton>
 
- 
getTextReturns the text property of given object.- Overrides:
- getTextin class- UIHelper<T extends AbstractButton>
 
 
-