charvax.swing
Class JPanel
JPanel is a generic lightweight container.
BOTTOM_ALIGNMENT , CENTER_ALIGNMENT , LEFT_ALIGNMENT , RIGHT_ALIGNMENT , TOP_ALIGNMENT , _alignmentX , _alignmentY , _background , _cursesColor , _enabled , _focusListeners , _foreground , _keyListeners , _origin , _parent , _visible |
JPanel() - The default constructor sets the layout manager to FlowLayout.
|
JPanel(LayoutManager layout_) - Use this constructor if you want to use a layout manager other than
the default FlowLayout.
|
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 |
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 |
JPanel
public JPanel()
The default constructor sets the layout manager to FlowLayout.
JPanel
public JPanel(LayoutManager layout_)
Use this constructor if you want to use a layout manager other than
the default FlowLayout.
draw
public void draw()
Draws the border of the panel (if there is one), plus
all the contained components.
- draw in interface Container
getBorder
public Border getBorder()
setBorder
public void setBorder(Border border_)
toString
public String toString()