@Override
protected Skin<?> createDefaultSkin ()
Overriding: javafx.scene.control.Control
Create a new instance of the default skin for this control. This is called to create a skin for the control if
no skin is provided via CSS -fx-skin
or set explicitly in a sub-class with setSkin(...)
.
Returns: new instance of default skin for this control. If null then the control will have no skin unless one
is provided by css.
@Override public
void fire ()
Overriding: javafx.scene.control.ButtonBase
Invoked when a user gesture indicates that an event for this
ButtonBase
should occur.
If invoked, this method will be executed regardless of the status of
arm
.
@Override
protected Pos getInitialAlignment ()
Overriding: javafx.scene.control.Labeled
Returns the initial alignment state of this control, for use
by the JavaFX CSS engine to correctly set its initial value. This method
is overridden to use Pos.CENTER initially.
Returns: the initial alignment state of this control
Since: 9
public final ToggleGroup getToggleGroup ()
Implementing: javafx.scene.control.Toggle
taken from field
The ToggleGroup
to which this ToggleButton
belongs. A
ToggleButton
can only be in one group at any one time. If the
group is changed, then the button is removed from the old group prior to
being added to the new group.
Returns: The ToggleGroup
to which this Toggle
belongs.
public final
boolean isSelected ()
Implementing: javafx.scene.control.Toggle
taken from field
Indicates whether this toggle button is selected. This can be manipulated
programmatically.
Returns: true
if this Toggle
is selected.
@Override
public Object queryAccessibleAttribute (AccessibleAttribute attribute, Object… parameters)
Overriding: javafx.scene.control.Control
This method is called by the assistive technology to request
the value for an attribute.
This method is commonly overridden by subclasses to implement
attributes that are required for a specific role.
If a particular attribute is not handled, the superclass implementation
must be called.
Parameters:
attribute | | the requested attribute |
parameters | | optional list of parameters |
Returns: the value for the requested attribute
public final BooleanProperty selectedProperty ()
Implementing: javafx.scene.control.Toggle
taken from field
Indicates whether this toggle button is selected. This can be manipulated
programmatically.
Returns: the selected property
public final
void setSelected (
boolean value)
Implementing: javafx.scene.control.Toggle
taken from field
Indicates whether this toggle button is selected. This can be manipulated
programmatically.
Parameters:
value | | true to make this Toggle selected. |
public final
void setToggleGroup (
ToggleGroup value)
Implementing: javafx.scene.control.Toggle
taken from field
The ToggleGroup
to which this ToggleButton
belongs. A
ToggleButton
can only be in one group at any one time. If the
group is changed, then the button is removed from the old group prior to
being added to the new group.
Parameters:
public final ObjectProperty<ToggleGroup> toggleGroupProperty ()
Implementing: javafx.scene.control.Toggle
taken from field
The ToggleGroup
to which this ToggleButton
belongs. A
ToggleButton
can only be in one group at any one time. If the
group is changed, then the button is removed from the old group prior to
being added to the new group.
Returns: the toggle group property