public class JPanel extends Container
_components, _currentFocus, _insets, _isValid, _layoutMgr, _minimumSize, _size
_alignmentX, _alignmentY, _background, _cursesColor, _enabled, _focusListeners, _foreground, _keyListeners, _origin, _parent, _visible, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
debug(int level_) |
void |
draw()
Draws the border of the panel (if there is one), plus
all the contained components.
|
Border |
getBorder() |
Insets |
getInsets() |
void |
setBorder(Border border_) |
java.lang.String |
toString() |
add, add, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentAt, getComponentCount, getComponents, getCurrentFocus, getHeight, getSize, getWidth, invalidate, isFocusTraversable, isValid, minimumSize, nextFocus, previousFocus, processKeyEvent, remove, requestFocus, setBackground, setBounds, setBounds, setBounds, setFocus, setForeground, setHeight, setLayout, setSize, setSize, setWidth, validate
addFocusListener, addKeyListener, contains, contains, getAlignmentX, getAlignmentY, getAncestorWindow, getBackground, getBounds, getCursesColor, getForeground, getLocation, getLocationOnScreen, getName, getParent, hasFocus, hide, isDisplayed, isEnabled, isRecursivelyVisible, isTotallyObscured, isVisible, processEvent, processFocusEvent, processMouseEvent, repaint, requestSync, setEnabled, setLocation, setLocation, setName, setParent, setVisible, show, validateCursesColor
public JPanel()
public JPanel(LayoutManager layout_)