public abstract class JComponent extends Container
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
actionCommand |
protected java.lang.Object |
actionListener |
protected boolean |
autoScrolls |
enabled, height, id, minHeight, minWidth, mouseListener, name, parent, renderHeight, renderWidth, text, width
Modifier | Constructor and Description |
---|---|
protected |
JComponent(java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(java.lang.Object listener)
Note that it will be the job of the JavaScript on the
page to do with actionListener what is desired.
|
java.lang.String |
getActionCommand() |
void |
setActionCommand(java.lang.String actionCommand) |
void |
setAutoscrolls(boolean b) |
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, toHTML
protected boolean autoScrolls
protected java.lang.String actionCommand
protected java.lang.Object actionListener
public void setAutoscrolls(boolean b)
public void addActionListener(java.lang.Object listener)
listener
- public java.lang.String getActionCommand()
public void setActionCommand(java.lang.String actionCommand)