public interface ITabView
Modifier and Type | Method and Description |
---|---|
void |
addWindow(DBase window)
Add a newly created window component as a tab.
|
void |
componentChangedInGUI(DBase comp)
The size or position of the component has changed in
the GUI tab using the mouse.
|
void |
componentHasBeenSelected(DBase comp)
This method should be called by the WindowView when a
different component has been selected.
|
void |
deleteAllWindows() |
boolean |
deleteWindow(DBase window)
Remove a tab for a window that is no longer needed
|
void |
repaint() |
void |
scaleWindow(int scale) |
void |
scaleWindowToFit() |
void |
setGridSize(int gsize) |
void |
setSelectedComponent(DBase comp)
Change the selected tab to the window with this control
|
void |
setShowGrid(boolean show) |
void |
setSnapToGrid(boolean snap) |
void |
updateTabName()
Called when window name is changed in property view
|
void addWindow(DBase window)
window
- boolean deleteWindow(DBase window)
window
- void deleteAllWindows()
void setSelectedComponent(DBase comp)
comp
- void updateTabName()
void repaint()
void componentHasBeenSelected(DBase comp)
comp
- the new component selectedvoid componentChangedInGUI(DBase comp)
comp
- void scaleWindowToFit()
void scaleWindow(int scale)
void setShowGrid(boolean show)
void setSnapToGrid(boolean snap)
void setGridSize(int gsize)
Processing tool G4PTool by Peter Lager. (C) 2013