charvax.swing
Class Box

java.lang.Object
  extended bycharva.awt.Component
      extended bycharva.awt.Container
          extended bycharvax.swing.Box

public class Box
extends Container

A convenience container that uses a BoxLayout object as its LayoutManager.


Field Summary
 
Fields inherited from class charva.awt.Container
_components, _currentFocus, _insets, _isValid, _layoutMgr, _minimumSize, _size
 
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
Box(int axis_)
           
 
Method Summary
 void createGlue()
          Does nothing; it's here for compatibility with Swing.
static Box createHorizontalBox()
          Convenience method for creating a Box with horizontal axis.
static Box createVerticalBox()
          Convenience method for creating a Box with vertical axis.
 
Methods inherited from class charva.awt.Container
add, add, debug, doLayout, draw, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getCurrentFocus, getHeight, getInsets, getSize, getWidth, invalidate, isFocusTraversable, isValid, minimumSize, nextFocus, previousFocus, processKeyEvent, remove, requestFocus, setBackground, setFocus, setForeground, setHeight, setLayout, setSize, setSize, setWidth, validate
 
Methods inherited from class charva.awt.Component
addFocusListener, addKeyListener, contains, contains, getAlignmentX, getAlignmentY, getAncestorWindow, getBackground, getBounds, getCursesColor, getForeground, getLocation, getLocationOnScreen, getName, getParent, hasFocus, hide, isDisplayed, isEnabled, isTotallyObscured, isVisible, processEvent, processFocusEvent, processMouseEvent, repaint, requestSync, setBounds, setBounds, setBounds, setEnabled, setLocation, setLocation, setName, setParent, setVisible, show, validateCursesColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Box

public Box(int axis_)
Method Detail

createGlue

public void createGlue()
Does nothing; it's here for compatibility with Swing.


createVerticalBox

public static Box createVerticalBox()
Convenience method for creating a Box with vertical axis.


createHorizontalBox

public static Box createHorizontalBox()
Convenience method for creating a Box with horizontal axis.