Class AbstractButtonHpr<T extends javax.swing.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
 
 public class AbstractButtonHpr<T extends javax.swing.AbstractButton> extends LabeledHpr<T> JComponentHpr subclass for AbstractButtons.
- 
- 
Constructor SummaryConstructors Constructor Description AbstractButtonHpr()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHorizontalAlignment(T aLabeled)Standard button or label property.intgetHorizontalTextPosition(T aLabeled)Standard button or label property.javax.swing.IcongetIcon(T aLabeled)Returns the button or label icon.intgetIconTextGap(T aLabeled)Standard button or label property.java.lang.StringgetPropertyNameMapped(T anObj, java.lang.String aPropertyName)Returns a mapped property name.java.lang.StringgetText(T aButton)Returns the text property of given object.intgetVerticalAlignment(T aLabeled)Standard button or label property.intgetVerticalTextPosition(T aLabeled)Standard button or label property.voidinitUI(T aButton, UIOwner anOwner)Initializes newly created object.voidsetHorizontalAlignment(T aLabeled, int aValue)Standard button or label property.voidsetHorizontalTextPosition(T aLabeled, int aValue)Standard button or label property.voidsetIcon(T aLabeled, javax.swing.Icon anIcon)Sets 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, getPropertyNamesImpl
 - 
Methods 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, setSendActionOnFocusLost
 - 
Methods inherited from class com.inductiveautomation.snap.swing.SwingHelpergetHelper, getSwingHelper, getSwingHelper
 - 
Methods 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
 
- 
 
- 
- 
- 
Method Detail- 
initUIpublic void initUI(T aButton, UIOwner anOwner) Initializes newly created object.- Overrides:
- initUIin class- JComponentHpr<T extends javax.swing.AbstractButton>
 
 - 
getIconpublic javax.swing.Icon getIcon(T aLabeled) Returns the button or label icon.- Specified by:
- getIconin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
setIconpublic void setIcon(T aLabeled, javax.swing.Icon anIcon) Sets the button or label icon.- Specified by:
- setIconin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
getHorizontalAlignmentpublic int getHorizontalAlignment(T aLabeled) Standard button or label property.- Specified by:
- getHorizontalAlignmentin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
setHorizontalAlignmentpublic void setHorizontalAlignment(T aLabeled, int aValue) Standard button or label property.- Specified by:
- setHorizontalAlignmentin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
getVerticalAlignmentpublic int getVerticalAlignment(T aLabeled) Standard button or label property.- Specified by:
- getVerticalAlignmentin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
setVerticalAlignmentpublic void setVerticalAlignment(T aLabeled, int aValue) Standard button or label property.- Specified by:
- setVerticalAlignmentin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
getHorizontalTextPositionpublic int getHorizontalTextPosition(T aLabeled) Standard button or label property.- Specified by:
- getHorizontalTextPositionin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
setHorizontalTextPositionpublic void setHorizontalTextPosition(T aLabeled, int aValue) Standard button or label property.- Specified by:
- setHorizontalTextPositionin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
getVerticalTextPositionpublic int getVerticalTextPosition(T aLabeled) Standard button or label property.- Specified by:
- getVerticalTextPositionin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
setVerticalTextPositionpublic void setVerticalTextPosition(T aLabeled, int aValue) Standard button or label property.- Specified by:
- setVerticalTextPositionin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
getIconTextGappublic int getIconTextGap(T aLabeled) Standard button or label property.- Specified by:
- getIconTextGapin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
setIconTextGappublic void setIconTextGap(T aLabeled, int aValue) Standard button or label property.- Specified by:
- setIconTextGapin class- LabeledHpr<T extends javax.swing.AbstractButton>
 
 - 
getPropertyNameMappedpublic java.lang.String getPropertyNameMapped(T anObj, java.lang.String aPropertyName) Returns a mapped property name.- Overrides:
- getPropertyNameMappedin class- UIHelper<T extends javax.swing.AbstractButton>
 
 
- 
 
-