|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.button.AbstractButton
nextapp.echo2.app.button.ToggleButton
nextapp.echo2.app.RadioButton
echopointng.RadioButtonEx
public class RadioButtonEx
RadioButtonEx
| Field Summary |
|---|
| Fields inherited from class nextapp.echo2.app.RadioButton |
|---|
BUTTON_GROUP_CHANGED_PROPERTY |
| Fields inherited from class nextapp.echo2.app.button.ToggleButton |
|---|
PROPERTY_PRESSED_SELECTED_STATE_ICON, PROPERTY_PRESSED_STATE_ICON, PROPERTY_ROLLOVER_SELECTED_STATE_ICON, PROPERTY_ROLLOVER_STATE_ICON, PROPERTY_SELECTED_STATE_ICON, PROPERTY_STATE_ALIGNMENT, PROPERTY_STATE_ICON, PROPERTY_STATE_MARGIN, PROPERTY_STATE_POSITION, SELECTED_CHANGED_PROPERTY |
| Constructor Summary | |
|---|---|
RadioButtonEx()
Creates a radio button with no text or icon. |
|
RadioButtonEx(ImageReference icon)
Creates a radio button with an icon. |
|
RadioButtonEx(java.lang.String text)
Creates a radio button with text. |
|
RadioButtonEx(java.lang.String text,
ImageReference icon)
Creates a radio button with text and an icon. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String attributeName)
Returns a value for the given attribute name or null if one cannot be found. |
java.lang.String[] |
getAttributeNames()
Returns a String array with the names of the the attributes that have neen set. |
void |
init()
Life-cycle method invoked when the Component is added
to a registered hierarchy. |
void |
setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Sets a value for a given attribute name. |
| Methods inherited from class nextapp.echo2.app.RadioButton |
|---|
getGroup, setGroup, setModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RadioButtonEx()
public RadioButtonEx(ImageReference icon)
icon - the icon to be displayed in the radio buttonpublic RadioButtonEx(java.lang.String text)
text - the text to be displayed in the radio button
public RadioButtonEx(java.lang.String text,
ImageReference icon)
text - the text to be displayed in the radio buttonicon - the icon to be displayed in the radio button| Method Detail |
|---|
public void init()
ComponentComponent is added
to a registered hierarchy. Implementations should always invoke
super.init().
Modifications to the component hierarchy are not allowed within this
method.
init in class ComponentComponent.init()public java.lang.Object getAttribute(java.lang.String attributeName)
Attributeable
getAttribute in interface AttributeableattributeName - - the name of the attribute to return
Attributeable.getAttribute(java.lang.String)public java.lang.String[] getAttributeNames()
Attributeable
getAttributeNames in interface AttributeableAttributeable.getAttributeNames()
public void setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Attributeable
setAttribute in interface AttributeableattributeName - - the name of the attribute to setattributeValue - - the value for the attributeAttributeable.setAttribute(java.lang.String,
java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||