public class ToggleButton extends AbstractButton
Modifier and Type | Field and Description |
---|---|
static Class[] |
SWING_CLASSES |
static String |
TYPE_NAME |
Constructor and Description |
---|
ToggleButton(JToggleButton jToggleButton) |
Modifier and Type | Method and Description |
---|---|
JToggleButton |
getAwtComponent()
Returns the Java GUI component represented by this object.
|
String |
getDescriptionTypeName()
Returns the name of the component as it will appear in the XML representation
returned by
UIComponent.getDescription() . |
Assertion |
isSelected() |
void |
select() |
void |
unselect() |
click, getLabel, iconEquals, textEquals, triggerClick
tooltipContains, tooltipEquals
addAttributes, backgroundEquals, backgroundNear, foregroundEquals, foregroundNear, getContainer, getContainer, getDescription, getDescription, getName, getSubDescription, isEnabled, isVisible, pressKey, releaseKey, typeKey
public static final String TYPE_NAME
public static final Class[] SWING_CLASSES
public ToggleButton(JToggleButton jToggleButton)
public JToggleButton getAwtComponent()
UIComponent
getAwtComponent
in interface UIComponent
getAwtComponent
in class AbstractSwingUIComponent
public String getDescriptionTypeName()
UIComponent
UIComponent.getDescription()
.public Assertion isSelected()
public void select()
public void unselect()
Copyright © 2004–2016. All rights reserved.