com.vlsolutions.swing.docking.ws
public class WorkspaceButton extends JButton
Since: 2.1.3
| Constructor Summary | |
|---|---|
| WorkspaceButton() default constructor | |
| WorkspaceButton(String text) constructor with a menu text | |
| WorkspaceButton(String text, Icon icon) constructor with a menu text and an icon | |
| Method Summary | |
|---|---|
| void | applyWorkspace() Invoked when the button is pressed : applies the workspace to the associated context |
| DockingContext | getDockingContext() Returns the docking context used by this button |
| Workspace | getWorkspace() Returns the workspace used by this button |
| void | setDockingContext(DockingContext ctx) Updates the docking context used by this button |
| void | setWorkspace(Workspace workspace) updates the workspace to be used by this button |