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 Summary
Constructors -
Method Summary
Modifier 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.LabeledHpr
getChildCount, getPropertyNamesImplMethods inherited from class com.inductiveautomation.snap.swing.helpers.JComponentHpr
addBinding, 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.SwingHelper
getHelper, getSwingHelper, getSwingHelperMethods inherited from class com.inductiveautomation.snap.ui.UIHelper
enableEvents, 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
-
AbstractButtonHpr
public AbstractButtonHpr()
-
-
Method Details
-
initUI
Initializes newly created object.- Overrides:
initUIin classJComponentHpr<T extends AbstractButton>
-
getIcon
Returns the button or label icon.- Specified by:
getIconin classLabeledHpr<T extends AbstractButton>
-
setIcon
Sets the button or label icon.- Specified by:
setIconin classLabeledHpr<T extends AbstractButton>
-
getHorizontalAlignment
Standard button or label property.- Specified by:
getHorizontalAlignmentin classLabeledHpr<T extends AbstractButton>
-
setHorizontalAlignment
Standard button or label property.- Specified by:
setHorizontalAlignmentin classLabeledHpr<T extends AbstractButton>
-
getVerticalAlignment
Standard button or label property.- Specified by:
getVerticalAlignmentin classLabeledHpr<T extends AbstractButton>
-
setVerticalAlignment
Standard button or label property.- Specified by:
setVerticalAlignmentin classLabeledHpr<T extends AbstractButton>
-
getHorizontalTextPosition
Standard button or label property.- Specified by:
getHorizontalTextPositionin classLabeledHpr<T extends AbstractButton>
-
setHorizontalTextPosition
Standard button or label property.- Specified by:
setHorizontalTextPositionin classLabeledHpr<T extends AbstractButton>
-
getVerticalTextPosition
Standard button or label property.- Specified by:
getVerticalTextPositionin classLabeledHpr<T extends AbstractButton>
-
setVerticalTextPosition
Standard button or label property.- Specified by:
setVerticalTextPositionin classLabeledHpr<T extends AbstractButton>
-
getIconTextGap
Standard button or label property.- Specified by:
getIconTextGapin classLabeledHpr<T extends AbstractButton>
-
setIconTextGap
Standard button or label property.- Specified by:
setIconTextGapin classLabeledHpr<T extends AbstractButton>
-
getPropertyNameMapped
Returns a mapped property name.- Overrides:
getPropertyNameMappedin classUIHelper<T extends AbstractButton>
-
getText
Returns the text property of given object.- Overrides:
getTextin classUIHelper<T extends AbstractButton>
-