public class JPanel extends JComponent
Modifier and Type | Field and Description |
---|---|
private Grid |
grid |
private JComponent |
last |
private int |
nElements |
actionCommand, actionListener, autoScrolls
enabled, height, id, minHeight, minWidth, mouseListener, name, parent, renderHeight, renderWidth, text, width
Constructor and Description |
---|
JPanel(LayoutManager manager) |
Modifier and Type | Method and Description |
---|---|
void |
add(JComponent btn,
java.lang.Object c) |
java.lang.String |
toHTML() |
addActionListener, getActionCommand, setActionCommand, setAutoscrolls
add, addComponent, getComponent, getComponentCount, getComponents, getSubcomponentHeight, getSubcomponentWidth, insertComponent, remove, removeAll
addMouseListener, getCSSstyle, getHeight, getName, getParent, getText, getWidth, isEnabled, isVisible, newID, repaint, setBackground, setEnabled, setMinimumSize, setName, setParent, setPreferredSize, setText, setVisible
private Grid grid
private int nElements
private JComponent last
public JPanel(LayoutManager manager)
manager
- ignored. we just use the layout designations with a gridpublic void add(JComponent btn, java.lang.Object c)