|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.genui.UIResource<C>
javax.rad.genui.UIComponent<C>
javax.rad.genui.component.AbstractUILabeledIcon<C>
javax.rad.genui.component.AbstractUIActionComponent<C>
javax.rad.genui.component.AbstractUIButton<C>
javax.rad.genui.component.AbstractUIToggleButton<IToggleButton>
javax.rad.genui.component.UIToggleButton
public class UIToggleButton
Platform and technology independent toggle button. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
Button,
JToggleButton| Field Summary |
|---|
| Fields inherited from class javax.rad.genui.UIComponent |
|---|
bTranslate, lLastTranslationModified, parent, popupMenu |
| Fields inherited from class javax.rad.genui.UIResource |
|---|
uiResource |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
|
UIToggleButton()
Creates a new instance of UIToggleButton. |
protected |
UIToggleButton(IToggleButton pButton)
Creates a new instance of UIToggleButton with the given
toggle button. |
|
UIToggleButton(String pText)
Creates a new instance of UIToggleButton. |
|
UIToggleButton(String pText,
IActionListener pActionListener)
Creates a new instance of UIToggleButton. |
|
UIToggleButton(String pText,
IImage pImage,
IActionListener pActionListener)
Creates a new instance of UIToggleButton. |
|
UIToggleButton(String pText,
IImage pImage,
Object pListener,
String pMethodName)
Creates a new instance of UIToggleButton. |
|
UIToggleButton(String pText,
Object pListener,
String pMethodName)
Creates a new instance of UIToggleButton. |
| Method Summary |
|---|
| Methods inherited from class javax.rad.genui.component.AbstractUIToggleButton |
|---|
isSelected, setSelected |
| Methods inherited from class javax.rad.genui.component.AbstractUIButton |
|---|
getHorizontalTextPosition, getImageTextGap, getMouseOverImage, getPressedImage, getVerticalTextPosition, isBorderOnMouseEntered, isBorderPainted, isDefaultButton, setBorderOnMouseEntered, setBorderPainted, setDefaultButton, setHorizontalTextPosition, setImageTextGap, setMouseOverImage, setPressedImage, setVerticalTextPosition |
| Methods inherited from class javax.rad.genui.component.AbstractUIActionComponent |
|---|
createComponentName, eventAction, getAccelerator, getActionCommand, getMargins, setAccelerator, setActionCommand, setMargins, setMargins |
| Methods inherited from class javax.rad.genui.component.AbstractUILabeledIcon |
|---|
getHorizontalAlignment, getImage, getText, getVerticalAlignment, isPreserveAspectRatio, setHorizontalAlignment, setImage, setPreserveAspectRatio, setText, setVerticalAlignment, updateTranslation |
| Methods inherited from class javax.rad.genui.UIResource |
|---|
eventResourceChanged, eventResourceChanged, fireResourceChanged, getObject, getObjectNames, getUIResource, hasResourceHandler, putObject, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.component.IButton |
|---|
getHorizontalTextPosition, getImageTextGap, getMouseOverImage, getPressedImage, getVerticalTextPosition, isBorderOnMouseEntered, isBorderPainted, isDefaultButton, setBorderOnMouseEntered, setBorderPainted, setDefaultButton, setHorizontalTextPosition, setImageTextGap, setMouseOverImage, setPressedImage, setVerticalTextPosition |
| Methods inherited from interface javax.rad.ui.component.IToggleActionComponent |
|---|
getPressedImage, setPressedImage |
| Methods inherited from interface javax.rad.ui.component.IActionComponent |
|---|
eventAction, getAccelerator, getActionCommand, getMargins, setAccelerator, setActionCommand, setMargins |
| Methods inherited from interface javax.rad.ui.component.IIcon |
|---|
getImage, isPreserveAspectRatio, setImage, setPreserveAspectRatio |
| Methods inherited from interface javax.rad.ui.component.ILabel |
|---|
getText, setText |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Constructor Detail |
|---|
public UIToggleButton()
UIToggleButton.
IToggleButtonprotected UIToggleButton(IToggleButton pButton)
UIToggleButton with the given
toggle button.
pButton - te toggle buttonIToggleButtonpublic UIToggleButton(String pText)
UIToggleButton.
pText - the label of the button.IToggleButton
public UIToggleButton(String pText,
IActionListener pActionListener)
UIToggleButton.
pText - the text.pActionListener - the action listener.AbstractUIActionComponent.eventAction(),
AbstractUILabeledIcon.setText(String)
public UIToggleButton(String pText,
Object pListener,
String pMethodName)
UIToggleButton.
pText - the text.pListener - the listener.pMethodName - the method name.AbstractUIActionComponent.eventAction(),
AbstractUILabeledIcon.setText(String)
public UIToggleButton(String pText,
IImage pImage,
IActionListener pActionListener)
UIToggleButton.
pText - the text.pImage - the image.pActionListener - the action listener.AbstractUIActionComponent.eventAction(),
AbstractUILabeledIcon.setImage(IImage),
AbstractUILabeledIcon.setText(String)
public UIToggleButton(String pText,
IImage pImage,
Object pListener,
String pMethodName)
UIToggleButton.
pText - the text.pImage - the image.pListener - the listener.pMethodName - the method name.AbstractUIActionComponent.eventAction(),
AbstractUILabeledIcon.setImage(IImage),
AbstractUILabeledIcon.setText(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||