|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object charva.awt.Component charvax.swing.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).
Field Summary | |
protected Border |
_border
|
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 | |
JComponent()
|
Method Summary | |
void |
draw()
Draws the border of the component (if there is one). |
Border |
getBorder()
|
Insets |
getInsets()
|
void |
setBorder(Border border_)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Border _border
Constructor Detail |
public JComponent()
Method Detail |
public void setBorder(Border border_)
public Border getBorder()
public Insets getInsets()
public void draw()
draw
in class Component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |