org.tigris.swidgets
Class PopupToolBox
- MouseListener
public class PopupToolBox
PopupToolBox(int rows, int cols) - Creates a new instance of PopupToolBox.
|
JButton | add(Action action)
|
void | rebuild() - Occasionally the ToolBox gets in a state where a button
shows rollover status at the wrong time.
|
void | setButtonMouseListener(MouseListener theMouseListener)
|
PopupToolBox
public PopupToolBox(int rows,
int cols)
Creates a new instance of PopupToolBox.
rows
- the number of rowscols
- the number of columns
add
public JButton add(Action action)
- add in interface Toolbar
javax.swing.JToolBar.add(javax.swing.Action)
rebuild
public void rebuild()
Occasionally the ToolBox gets in a state where a button
shows rollover status at the wrong time.
The only way to get around this is to rebuild the ToolBox.
setButtonMouseListener
public void setButtonMouseListener(MouseListener theMouseListener)
theMouseListener
- the new mouse listener