Class UILine
public class UILine extends UICanvas
{
// Constructors
public UILine();
// Methods
public Dimension getMinimumSize();
public Dimension getPreferredSize();
public int getRoleCode();
public void paint(FxGraphics g);
}
This class implements painting a single separator line.
UIComponent
|
+--UIStateComponent
|
+--UICanvas
|
+--UILine
public UILine();
Creates a separator line control.
public Dimension getMinimumSize();
Retrieves the minimum size (in pixels) of the line control.
Return Value:
Returns a Dimension object containing the minimum size.
Remarks:
By default, this method returns the preferred size as determined by getPreferredSize.
public Dimension getPreferredSize();
Retrieves the preferred size (in pixels) of the line control.
Return Value:
Returns a Dimension object containing the preferred size.
public int getRoleCode();
Retrieves the ROLE_SYSTEM code that best describes the role of the line control.
Return Value:
Returns the ROLE_SYSTEM_TOOLBAR code.
public void paint(FxGraphics g);
Draws the line control.
Return Value:
No return value.
Parameter | Description |
g
| The graphics context.
|