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