All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.JSeparator
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.JSeparator
- public class JSeparator
- extends JComponent
- implements Accessible
An implementation of a Menu Separator
-
ui
-
-
JSeparator()
-
-
getAccessibleRole()
- Get the role of this object.
-
getUI()
- Returns the separator's current UI.
-
getUIClassID()
-
-
setUI(SeparatorUI)
- Sets the separator's UI.
-
updateUI()
- Gets a new UI object from the default UIFactory.
ui
protected SeparatorUI ui
JSeparator
public JSeparator()
getUI
public SeparatorUI getUI()
- Returns the separator's current UI.
- See Also:
- setUI
setUI
public void setUI(SeparatorUI ui)
- Sets the separator's UI.
- Parameters:
- ui - the new SeparatorUI
- See Also:
- getUI
updateUI
public void updateUI()
- Gets a new UI object from the default UIFactory.
- Overrides:
- updateUI in class JComponent
getUIClassID
public String getUIClassID()
- Returns:
- "SeparatorUI"
- Overrides:
- getUIClassID in class JComponent
- See Also:
- getUIClassID, getUI
getAccessibleRole
public AccessibleRole getAccessibleRole()
- Get the role of this object.
- Returns:
- an instance of AccessibleRole describing the role of the object
- Overrides:
- getAccessibleRole in class JComponent
All Packages Class Hierarchy This Package Previous Next Index