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


Variable Index

 o ui

Constructor Index

 o JSeparator()

Method Index

 o getAccessibleRole()
Get the role of this object.
 o getUI()
Returns the separator's current UI.
 o getUIClassID()
 o setUI(SeparatorUI)
Sets the separator's UI.
 o updateUI()
Gets a new UI object from the default UIFactory.

Variables

 o ui
 protected SeparatorUI ui

Constructors

 o JSeparator
 public JSeparator()

Methods

 o getUI
 public SeparatorUI getUI()
Returns the separator's current UI.

See Also:
setUI
 o setUI
 public void setUI(SeparatorUI ui)
Sets the separator's UI.

Parameters:
ui - the new SeparatorUI
See Also:
getUI
 o updateUI
 public void updateUI()
Gets a new UI object from the default UIFactory.

Overrides:
updateUI in class JComponent
 o getUIClassID
 public String getUIClassID()
Returns:
"SeparatorUI"
Overrides:
getUIClassID in class JComponent
See Also:
getUIClassID, getUI
 o 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