public class AbstractButtonHpr<T extends javax.swing.AbstractButton> extends LabeledHpr<T>
Constructor and Description |
---|
AbstractButtonHpr() |
Modifier and Type | Method and Description |
---|---|
int |
getHorizontalAlignment(T aLabeled)
Standard button or label property.
|
int |
getHorizontalTextPosition(T aLabeled)
Standard button or label property.
|
javax.swing.Icon |
getIcon(T aLabeled)
Returns the button or label icon.
|
int |
getIconTextGap(T aLabeled)
Standard button or label property.
|
java.lang.String |
getPropertyNameMapped(T anObj,
java.lang.String aPropertyName)
Returns a mapped property name.
|
java.lang.String |
getText(T aButton)
Returns the text property of given object.
|
int |
getVerticalAlignment(T aLabeled)
Standard button or label property.
|
int |
getVerticalTextPosition(T aLabeled)
Standard button or label property.
|
void |
initUI(T aButton,
UIOwner anOwner)
Initializes newly created object.
|
void |
setHorizontalAlignment(T aLabeled,
int aValue)
Standard button or label property.
|
void |
setHorizontalTextPosition(T aLabeled,
int aValue)
Standard button or label property.
|
void |
setIcon(T aLabeled,
javax.swing.Icon anIcon)
Sets the button or label icon.
|
void |
setIconTextGap(T aLabeled,
int aValue)
Standard button or label property.
|
void |
setVerticalAlignment(T aLabeled,
int aValue)
Standard button or label property.
|
void |
setVerticalTextPosition(T aLabeled,
int aValue)
Standard button or label property.
|
getChildCount, getPropertyNamesImpl
addBinding, createEventAdapter, getAutosizing, getBinding, getBindingCount, getBindings, getChangeListener, getChild, getConstraints, getEventAdapter, getName, getOwner, getParent, getSendActionOnFocusLost, getSendActionOnFocusLostDefault, isEnabled, removeBinding, setConstraints, setEnabled, setOwner, setSendActionOnFocusLost
getHelper, getSwingHelper, getSwingHelper
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
public void initUI(T aButton, UIOwner anOwner)
initUI
in class JComponentHpr<T extends javax.swing.AbstractButton>
public javax.swing.Icon getIcon(T aLabeled)
getIcon
in class LabeledHpr<T extends javax.swing.AbstractButton>
public void setIcon(T aLabeled, javax.swing.Icon anIcon)
setIcon
in class LabeledHpr<T extends javax.swing.AbstractButton>
public int getHorizontalAlignment(T aLabeled)
getHorizontalAlignment
in class LabeledHpr<T extends javax.swing.AbstractButton>
public void setHorizontalAlignment(T aLabeled, int aValue)
setHorizontalAlignment
in class LabeledHpr<T extends javax.swing.AbstractButton>
public int getVerticalAlignment(T aLabeled)
getVerticalAlignment
in class LabeledHpr<T extends javax.swing.AbstractButton>
public void setVerticalAlignment(T aLabeled, int aValue)
setVerticalAlignment
in class LabeledHpr<T extends javax.swing.AbstractButton>
public int getHorizontalTextPosition(T aLabeled)
getHorizontalTextPosition
in class LabeledHpr<T extends javax.swing.AbstractButton>
public void setHorizontalTextPosition(T aLabeled, int aValue)
setHorizontalTextPosition
in class LabeledHpr<T extends javax.swing.AbstractButton>
public int getVerticalTextPosition(T aLabeled)
getVerticalTextPosition
in class LabeledHpr<T extends javax.swing.AbstractButton>
public void setVerticalTextPosition(T aLabeled, int aValue)
setVerticalTextPosition
in class LabeledHpr<T extends javax.swing.AbstractButton>
public int getIconTextGap(T aLabeled)
getIconTextGap
in class LabeledHpr<T extends javax.swing.AbstractButton>
public void setIconTextGap(T aLabeled, int aValue)
setIconTextGap
in class LabeledHpr<T extends javax.swing.AbstractButton>
public java.lang.String getPropertyNameMapped(T anObj, java.lang.String aPropertyName)
getPropertyNameMapped
in class UIHelper<T extends javax.swing.AbstractButton>