charvax.swing
Class JComponent
public abstract class JComponent
The base class for charva.swing components. JComponent provides a
border property that implicitly defines the component's insets.
Note that JComponent is a subclass of Component, not of Container
(whereas java.swing.JComponent is a subclass of java.awt.Container).
BOTTOM_ALIGNMENT , CENTER_ALIGNMENT , LEFT_ALIGNMENT , RIGHT_ALIGNMENT , TOP_ALIGNMENT , _alignmentX , _alignmentY , _background , _cursesColor , _enabled , _focusListeners , _foreground , _keyListeners , _origin , _parent , _visible |
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 , setEnabled , setForeground , setLocation , setLocation , setName , setParent , setVisible , show , validate , validateCursesColor |
_border
protected Border _border
JComponent
public JComponent()
draw
public void draw()
Draws the border of the component (if there is one).
- draw in interface Component
getBorder
public Border getBorder()
getInsets
public Insets getInsets()
setBorder
public void setBorder(Border border_)