@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 ()
@Override
protected Cursor getInitialCursor ()
Overriding: javafx.scene.Node
Returns the initial cursor state of this control, for use
by the JavaFX CSS engine to correctly set its initial value. This method
is overridden to use the HAND cursor initially.
Returns: the initial cursor state for this Node
.
Since: 9
@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