@Override
protected Skin<?> createDefaultSkin ()
Overriding: javafx.scene.control.ToggleButton
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 ()
@Override
protected Pos getInitialAlignment ()
Overriding: javafx.scene.control.ToggleButton
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_LEFT initially.
Returns: the initial alignment state of this control
Since: 9
@Override
public Object queryAccessibleAttribute (AccessibleAttribute attribute, Object… parameters)
Overriding: javafx.scene.control.ToggleButton
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