|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LayoutController
A LayoutController is the one responsible for controlling the states of
the LayoutModel
. It always controls the current workspace model.
This controller is a singleton and can therefore be found in Lookup:
LayoutController lc = Lookup.getDefault().lookup(LayoutController.class);
Method Summary | |
---|---|
boolean |
canExecute()
Determine if the current Layout can be executed. |
boolean |
canStop()
Determine if the current Layout execution can be stopped. |
void |
executeLayout()
Executes the current Layout. |
LayoutModel |
getModel()
Returns the model of the currently selected Workspace . |
void |
setLayout(Layout layout)
Sets the Layout to execute. |
void |
stopLayout()
Stop the Layout's execution. |
Method Detail |
---|
LayoutModel getModel()
Workspace
.
void setLayout(Layout layout)
layout
- the layous that is to be selectedvoid executeLayout()
boolean canExecute()
true
if the layout is executable.void stopLayout()
boolean canStop()
true
if the layout can be stopped.
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |