|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<C>
com.sibvisions.rad.ui.awt.impl.AwtComponent<C>
com.sibvisions.rad.ui.awt.impl.AwtContainer<C>
com.sibvisions.rad.ui.swing.impl.SwingComponent<C>
com.sibvisions.rad.ui.swing.impl.component.SwingAbstractButton<C>
com.sibvisions.rad.ui.swing.impl.menu.SwingMenuItem<JVxCheckBoxMenuItem>
com.sibvisions.rad.ui.swing.impl.menu.SwingCheckBoxMenuItem
public class SwingCheckBoxMenuItem
The SwingCheckBoxMenuItem is the ICheckBoxMenuItem
implementation for swing.
JCheckBoxMenuItem,
ICheckBoxMenuItem| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.swing.impl.menu.SwingMenuItem |
|---|
MAX_IMAGESIZE |
| Fields inherited from class com.sibvisions.rad.ui.swing.impl.component.SwingAbstractButton |
|---|
image, imgOver, imgPressed |
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtComponent |
|---|
bComponentListener, bFocusListener, bKeyListener, bMouseListener, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, eventSource, factory, parent |
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
resource |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
SwingCheckBoxMenuItem()
Creates a new instance of SwingCheckBoxMenuItem. |
|
| Method Summary | |
|---|---|
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 class com.sibvisions.rad.ui.swing.impl.menu.SwingMenuItem |
|---|
setImage |
| Methods inherited from class com.sibvisions.rad.ui.swing.impl.component.SwingAbstractButton |
|---|
actionPerformed, eventAction, getAccelerator, getActionCommand, getHorizontalTextPosition, getImage, getImageTextGap, getMargins, getMouseOverImage, getPressedImage, getText, getVerticalTextPosition, isBorderOnMouseEntered, isBorderPainted, isDefaultButton, isPreserveAspectRatio, setAccelerator, setActionCommand, setBackground, setBorderOnMouseEntered, setBorderPainted, setDefaultButton, setHorizontalAlignment, setHorizontalTextPosition, setImageTextGap, setMargins, setMouseOverImage, setPreserveAspectRatio, setText, setVerticalAlignment, setVerticalTextPosition |
| Methods inherited from class com.sibvisions.rad.ui.swing.impl.SwingComponent |
|---|
capture, getToolTipText, setTabIndex, setToolTipText |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtContainer |
|---|
add, add, add, add, addIntern, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, removeIntern, setLayout, setLayoutIntern |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
getResource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.component.IToggleActionComponent |
|---|
getPressedImage |
| 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 SwingCheckBoxMenuItem()
SwingCheckBoxMenuItem.
| Method Detail |
|---|
public boolean isSelected()
isSelected in interface IToggleActionComponenttrue if the component is selected, otherwise falsepublic void setSelected(boolean pPressed)
setSelected in interface IToggleActionComponentpPressed - true selects the toggle component,
false deselects the toggle component.public void setPressedImage(IImage pImage)
setPressedImage in interface IButtonsetPressedImage in interface IToggleActionComponentsetPressedImage in class SwingAbstractButton<JVxCheckBoxMenuItem>pImage - the mouse pressed image
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||