|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used for building new instances of editors. Before an editor can be built, it first needs to be registered with the CytoscapeEditorManager.
CytoscapeEditorManager
Field Summary | |
static CytoscapeEditorFactory |
INSTANCE
|
Method Summary | |
void |
addEditorType(java.lang.String editorType)
adds an editor type to the collection of editor types |
CytoscapeEditor |
getEditor(java.lang.String editorType)
Get the network editor, creating a new one if it doesn't already exist. |
java.util.Collection |
getEditorTypes()
Get the set of valid editor types |
NetworkEditEventAdapter |
getNetworkEditEventAdapter(CytoscapeEditor editor)
gets an instance of the NetworkEditEventAdaptor associated with the input editor The NetworkEditEventAdapter handles events that are associated with user input to the editor, such as mouse actions, drag/drop, keystrokes. |
Field Detail |
public static final CytoscapeEditorFactory INSTANCE
Method Detail |
public CytoscapeEditor getEditor(java.lang.String editorType) throws InvalidEditorException
editorType
- non null type of editor to get
InvalidEditorException
- if the editor cannot be createdpublic java.util.Collection getEditorTypes()
public void addEditorType(java.lang.String editorType)
editorType
- a name that specifies the type of the editorpublic NetworkEditEventAdapter getNetworkEditEventAdapter(CytoscapeEditor editor)
editor
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |