|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IToggleActionComponent
Platform and technology independent toggle action component definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
Field Summary |
---|
Fields inherited from interface javax.rad.ui.IAlignmentConstants |
---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
Method Summary | |
---|---|
IImage |
getPressedImage()
Gets the image for the button when the button is pressed. |
boolean |
isSelected()
Checks if the component is selected. |
void |
setPressedImage(IImage pImage)
Sets the image for the button when the button is pressed. |
void |
setSelected(boolean pPressed)
Sets the selected state of the component. |
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, setImage |
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 |
Method Detail |
---|
boolean isSelected()
true
if the component is selected, otherwise false
void setSelected(boolean pPressed)
pPressed
- true
selects the toggle component,
false
deselects the toggle component.void setPressedImage(IImage pImage)
pImage
- the mouse pressed imageIImage getPressedImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |