charvax.swing

Class JSeparator


public class JSeparator
extends Component

A horizontal separator in a menu.

Field Summary

Fields inherited from class charva.awt.Component

BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT, _alignmentX, _alignmentY, _background, _cursesColor, _enabled, _focusListeners, _foreground, _keyListeners, _origin, _parent, _visible

Constructor Summary

JSeparator()
Create a separator

Method Summary

void
debug(int level_)
Outputs a textual description of this component to stderr.
void
draw()
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, debug, draw, getAlignmentX, getAlignmentY, getAncestorWindow, getBackground, getBounds, getCursesColor, getForeground, getHeight, getLocation, getLocationOnScreen, getName, getParent, getSize, getWidth, hasFocus, hide, invalidate, isDisplayed, isEnabled, isFocusTraversable, isTotallyObscured, isValid, isVisible, minimumSize, processEvent, processFocusEvent, processKeyEvent, processMouseEvent, repaint, requestFocus, requestSync, setBackground, setBounds, setBounds, setBounds, setEnabled, setForeground, setLocation, setLocation, setName, setParent, setVisible, show, validate, validateCursesColor

Constructor Details

JSeparator

public JSeparator()
Create a separator

Method Details

debug

public void debug(int level_)
Outputs a textual description of this component to stderr.
Overrides:
debug in interface Component

draw

public void draw()
Overrides:
draw in interface Component

getHeight

public int getHeight()
Overrides:
getHeight in interface Component

getSize

public Dimension getSize()
Overrides:
getSize in interface Component

getWidth

public int getWidth()
Overrides:
getWidth in interface Component

isFocusTraversable

public boolean isFocusTraversable()
Determines whether this component will accept the keyboard focus during keyboard traversal.
Overrides:
isFocusTraversable in interface Component

minimumSize

public Dimension minimumSize()
Overrides:
minimumSize in interface Component

requestFocus

public void requestFocus()
This is never invoked.
Overrides:
requestFocus in interface Component