charvax.swing
Class JSeparator

java.lang.Object
  extended bycharva.awt.Component
      extended bycharvax.swing.JSeparator

public class JSeparator
extends Component

A horizontal separator in a menu.


Field Summary
 
Fields inherited from class charva.awt.Component
_alignmentX, _alignmentY, _background, _cursesColor, _enabled, _focusListeners, _foreground, _keyListeners, _origin, _parent, _visible, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
JSeparator()
          Create a separator
 
Method Summary
 void debug(int level_)
          Outputs a textual description of this component to stderr.
 void draw()
          To be implemented by concrete subclasses.
 int getHeight()
           
 Dimension getSize()
           
 int getWidth()
           
 boolean isFocusTraversable()
          Determines whether this component will accept the keyboard focus during keyboard traversal.
 Dimension minimumSize()
           
 void requestFocus()
          This is never invoked.
 
Methods inherited from class charva.awt.Component
addFocusListener, addKeyListener, contains, contains, getAlignmentX, getAlignmentY, getAncestorWindow, getBackground, getBounds, getCursesColor, getForeground, getLocation, getLocationOnScreen, getName, getParent, hasFocus, hide, invalidate, isDisplayed, isEnabled, isTotallyObscured, isValid, isVisible, processEvent, processFocusEvent, processKeyEvent, processMouseEvent, repaint, requestSync, setBackground, setBounds, setBounds, setBounds, setEnabled, setForeground, setLocation, setLocation, setName, setParent, setVisible, show, validate, validateCursesColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSeparator

public JSeparator()
Create a separator

Method Detail

draw

public void draw()
Description copied from class: Component
To be implemented by concrete subclasses.

Specified by:
draw in class Component

isFocusTraversable

public boolean isFocusTraversable()
Determines whether this component will accept the keyboard focus during keyboard traversal.

Overrides:
isFocusTraversable in class Component

minimumSize

public Dimension minimumSize()
Specified by:
minimumSize in class Component

getSize

public Dimension getSize()
Specified by:
getSize in class Component

getWidth

public int getWidth()
Specified by:
getWidth in class Component

getHeight

public int getHeight()
Specified by:
getHeight in class Component

requestFocus

public void requestFocus()
This is never invoked.

Overrides:
requestFocus in class Component

debug

public void debug(int level_)
Outputs a textual description of this component to stderr.

Specified by:
debug in class Component