Class EditorFactory
- java.lang.Object
-
- repast.simphony.visualization.editor.EditorFactory
-
public class EditorFactory extends Object
Deprecated.2D piccolo based code is being removedSingleton factory for creating display editors.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DisplayEditorLifecycle
create2DEditor(Display2D display, org.piccolo2d.PCanvas canvas, JPanel panel)
Deprecated.Creates an editor for editing a 2D display using the specified data, canvas, and panel.DisplayEditorLifecycle
create3DEditor(Display3D display, JPanel panel)
Deprecated.Creates an editor for editing the specified 3D display using the specified panel.static EditorFactory
getInstance()
Deprecated.void
reset()
Deprecated.Resets this EditorFactory prior to a simulation run.
-
-
-
Method Detail
-
getInstance
public static EditorFactory getInstance()
Deprecated.
-
reset
public void reset()
Deprecated.Resets this EditorFactory prior to a simulation run.
-
create3DEditor
public DisplayEditorLifecycle create3DEditor(Display3D display, JPanel panel)
Deprecated.Creates an editor for editing the specified 3D display using the specified panel. This does not edit in the 3D display directly but rather creates 2D projection(s) of the 3D and allows the user to edit those displays.- Parameters:
display
- the display to create the editor forpanel
- a border laid out panel to which any editor components can be added- Returns:
- an editor for editing a 3D display
-
create2DEditor
public DisplayEditorLifecycle create2DEditor(Display2D display, org.piccolo2d.PCanvas canvas, JPanel panel)
Deprecated.Creates an editor for editing a 2D display using the specified data, canvas, and panel.- Parameters:
display
- the display to create the editor forcanvas
- the canvas displayed by the 2D display for which this is to be an editorpanel
- a border laid out panel to which any editor components can be added- Returns:
- an editor for editing a 2D display
-
-