public class JButtonOrLabelHpr extends RJHelper
Constructor and Description |
---|
JButtonOrLabelHpr()
Creates a new JButtonOrLabelHpr.
|
Modifier and Type | Method and Description |
---|---|
void |
fromXML(javax.swing.JComponent aComponent,
RXArchiver anArchiver,
RXElement anElement)
XML unarchival.
|
int |
getHorizontalAlignment(javax.swing.JComponent aComponent)
Standard button or label property
|
int |
getHorizontalTextPosition(javax.swing.JComponent aComponent)
Standard button or label property
|
javax.swing.Icon |
getIcon(javax.swing.JComponent aComponent)
Returns the button or label icon.
|
int |
getIconTextGap(javax.swing.JComponent aComponent)
Standard button or label property
|
java.lang.String |
getImageName(javax.swing.JComponent aComponent)
Returns the image name for this button's icon.
|
java.lang.String |
getText(javax.swing.JComponent aComponent)
Returns the text for the button or label.
|
int |
getVerticalAlignment(javax.swing.JComponent aComponent)
Standard button or label property
|
int |
getVerticalTextPosition(javax.swing.JComponent aComponent)
Standard button or label property
|
void |
setHorizontalAlignment(javax.swing.JComponent aComponent,
int val)
Standard button or label property
|
void |
setHorizontalTextPosition(javax.swing.JComponent aComponent,
int val)
Standard button or label property
|
void |
setIcon(javax.swing.JComponent aComponent,
javax.swing.Icon anIcon)
Sets the button or label icon.
|
void |
setIconTextGap(javax.swing.JComponent aComponent,
int val)
Standard button or label property
|
void |
setImageName(javax.swing.JComponent aComponent,
java.lang.String aName)
Sets the image name for this button's icon and tries to set the icon by asking Ribs for the named icon.
|
void |
setText(javax.swing.JComponent aComponent,
java.lang.String aString)
Sets the text for the button or label.
|
void |
setVerticalAlignment(javax.swing.JComponent aComponent,
int val)
Standard button or label property
|
void |
setVerticalTextPosition(javax.swing.JComponent aComponent,
int val)
Standard button or label property
|
RXElement |
toXML(javax.swing.JComponent aComponent,
RXArchiver anArchiver)
XML archival.
|
add, focusGained, focusLost, fromXMLDeep, get, getActionListener, getAutoscrolls, getAutosizing, getBackground, getBindKey, getBooleanValue, getBoolValue, getCallback, getChangeListener, getColorValue, getComponent, getComponentCount, getFloatValue, getFocusListener, getForeground, getIntValue, getMaster, getMaximumSize, getMinimumSize, getOwner, getRibHeight, getRibWidth, getRibX, getRibY, getSendActionOnFocusLost, getStringValue, getSubstitutionClassString, getValue, initInstance, isOpaque, newInstance, performBindKeyGet, performBindKeySet, sendAction, setAutoscrolls, setAutosizing, setBackground, setBindKey, setCallback, setForeground, setMaster, setMaximumSize, setMinimumSize, setOpaque, setOwner, setSendActionOnFocusLost, setSubstitutionClassString, setValue, setValue, setValue, setValue, setValue, setValue, setValue, takeFloatValue, takeIntValue, testOutBeanBag, toXMLDeep
public java.lang.String getImageName(javax.swing.JComponent aComponent)
public void setImageName(javax.swing.JComponent aComponent, java.lang.String aName)
public javax.swing.Icon getIcon(javax.swing.JComponent aComponent)
public void setIcon(javax.swing.JComponent aComponent, javax.swing.Icon anIcon)
public java.lang.String getText(javax.swing.JComponent aComponent)
public void setText(javax.swing.JComponent aComponent, java.lang.String aString)
public int getHorizontalAlignment(javax.swing.JComponent aComponent)
public void setHorizontalAlignment(javax.swing.JComponent aComponent, int val)
public int getVerticalAlignment(javax.swing.JComponent aComponent)
public void setVerticalAlignment(javax.swing.JComponent aComponent, int val)
public int getHorizontalTextPosition(javax.swing.JComponent aComponent)
public void setHorizontalTextPosition(javax.swing.JComponent aComponent, int val)
public int getVerticalTextPosition(javax.swing.JComponent aComponent)
public void setVerticalTextPosition(javax.swing.JComponent aComponent, int val)
public int getIconTextGap(javax.swing.JComponent aComponent)
public void setIconTextGap(javax.swing.JComponent aComponent, int val)
public RXElement toXML(javax.swing.JComponent aComponent, RXArchiver anArchiver)
public void fromXML(javax.swing.JComponent aComponent, RXArchiver anArchiver, RXElement anElement)