|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.CompositeFactory
The CompositeFactory is the facility where to create a new
CompositeLine, a new Composite, a new
CompositeGroup, a new CompositeView and all
interfaces that generalizes them.
| Constructor Summary | |
protected |
CompositeFactory()
Default constructor that will get called by extending classes. |
| Method Summary | |
abstract Composite |
newComposite(Composite composite)
Creates a new Composite which is an exact copy of the
given Composite. |
abstract Composite |
newComposite(CoordinateSystem coordSystem)
Creates a new Composite with the given
CoordinateSystem. |
abstract Composite |
newComposite(GeometryDescriptor geometry)
Creates a new Composite from the
GeometryDescriptor given by geometry. |
abstract CompositeGroup |
newCompositeGroup(CompositeGroup compositegroup)
Creates a new CompositeGroup which is an exact copy of the
given CompositeGroup. |
abstract CompositeGroup |
newCompositeGroup(CoordinateSystem coordSystem)
Creates a new CompositeGroup with the given
CoordinateSystem. |
abstract CompositeGroup |
newCompositeGroup(CoordinateSystem coordSystemReference,
CoordinateSystem coordSystem)
|
abstract CompositeGroup |
newCompositeGroup(GeometryDescriptor geometry)
Creates a new CompositeGroup from the
GeometryDescriptor given by geometry. |
abstract CompositeLabel |
newCompositeLabel(CoordinateSystem coordSystem)
|
abstract CompositeLine |
newCompositeLine()
Creates a new CompositeLine. |
abstract CompositeLine |
newCompositeLine(Line2D line)
creates a new CompositeLine from Line2D the
given by line. |
abstract CompositeLine |
newCompositeLine(Polyline2D polyline)
creates a new CompositeLine from Polyline2D the
given by polyline. |
abstract CompositeSwimLane |
newCompositeSwimLane(CoordinateSystem coordSystem)
Creates a new CompositeSwimLane with the
CoordinateSytem given by coordSystem. |
abstract CompositeSwimLane |
newCompositeSwimLane(GeometryDescriptor geometry)
Creates a new CompositeSwimLane with the
CoordinateSytem given by coordSystem. |
abstract CompositeSwimLanePool |
newCompositeSwimLanePool(CoordinateSystem coordSystem)
Creates a new CompositeSwimLanePool with the
CoordinateSytem given by coordSystem. |
abstract CompositeTable |
newCompositeTable(CoordinateSystem coordSystem)
Creates a new CompositeTable using the
CoordinateSystem given by parameter coordSystem. |
abstract CompositeTable |
newCompositeTable(CoordinateSystem coordSystem,
com.tensegrity.composite.defaultimpl.table.CompositeTableModel model)
Creates a new CompositeTable that uses the given
CoordinateSystem and the given
CompositeTableModel. |
abstract CompositeTable |
newCompositeTable(CoordinateSystem coordSystem,
int columns,
int rows)
Creates a new CompositeTable with the given number of
columns and rows. |
abstract CompositeTable |
newCompositeTable(CoordinateSystem coordSystem,
java.lang.Object[] columnHeaders,
java.lang.Object[] rowHeaders)
Creates a new CompositeTable with the
CoordinateSystem given by parameter coordSystem.
|
abstract CompositeView |
newCompositeView()
Creates a new CompositeView. |
abstract CompositeView |
newCompositeView(CompositeView view)
Creates a new CompositeView which is an exact copy of the
given CompositeView. |
abstract CompositeView |
newCompositeView(java.util.List composites)
Creates a new CompositeView.
|
static CompositeFactory |
newInstance()
Returns an instance of a CompositeFactory which can be used
to create objects from the composite framework. |
abstract CompositeNavigator |
newNavigator()
Creates a new CompositeNavigator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected CompositeFactory()
| Method Detail |
public abstract CompositeView newCompositeView()
CompositeView.
CompositeView.public abstract CompositeView newCompositeView(java.util.List composites)
CompositeView.
The given List of BaseComposites wil be added
to the newly created CompositeView.
composites - the List of BaseComposites
which should be added to the CompositeView
CompositeViewpublic abstract CompositeView newCompositeView(CompositeView view)
CompositeView which is an exact copy of the
given CompositeView.
view - the CompositeView to make a copy from
CompositeViewpublic abstract CompositeNavigator newNavigator()
CompositeNavigator.
CompositeNavigatorpublic abstract CompositeLine newCompositeLine()
CompositeLine.
CompositeLineLine2DModelpublic abstract CompositeLine newCompositeLine(Line2D line)
CompositeLine from Line2D the
given by line.
line - the Line2D to create the
CompositeLine from
CompositeLineLine2Dpublic abstract CompositeLine newCompositeLine(Polyline2D polyline)
CompositeLine from Polyline2D the
given by polyline.
polyline - the Polyline2D to create the
CompositeLine from
CompositeLinePolyline2Dpublic abstract Composite newComposite(CoordinateSystem coordSystem)
Composite with the given
CoordinateSystem.
coordSystem - the CoordinateSystem the created
Composite should use
Composite
public abstract Composite newComposite(GeometryDescriptor geometry)
throws GeometryNotSupportedException
Composite from the
GeometryDescriptor given by geometry.
geometry - the GeometryDescriptor to create the
Composite from
Composite
GeometryNotSupportedException - is thrown if the
GeometryDescriptor is not supported by a
Compositepublic abstract Composite newComposite(Composite composite)
Composite which is an exact copy of the
given Composite.
composite - the Composite to make a copy from
Compositepublic abstract CompositeGroup newCompositeGroup(CoordinateSystem coordSystem)
CompositeGroup with the given
CoordinateSystem.
coordSystem - the CoordinateSystem the created
CompositeGroup should use
CompositeGroup
public abstract CompositeGroup newCompositeGroup(CoordinateSystem coordSystemReference,
CoordinateSystem coordSystem)
public abstract CompositeGroup newCompositeGroup(GeometryDescriptor geometry)
throws GeometryNotSupportedException
CompositeGroup from the
GeometryDescriptor given by geometry.
geometry - the GeometryDescriptor to create the
CompositeGroup from
CompositeGroup
GeometryNotSupportedException - is thrown if the
GeometryDescriptor is not supported by a
CompositeGrouppublic abstract CompositeGroup newCompositeGroup(CompositeGroup compositegroup)
CompositeGroup which is an exact copy of the
given CompositeGroup.
compositegroup - the CompositeGroup to make a copy from
CompositeGrouppublic abstract CompositeSwimLane newCompositeSwimLane(CoordinateSystem coordSystem)
CompositeSwimLane with the
CoordinateSytem given by coordSystem.
coordSystem - the CoordinateSystem for the new
CompositeSwimLane
CompositeSwimLane
public abstract CompositeSwimLane newCompositeSwimLane(GeometryDescriptor geometry)
throws GeometryNotSupportedException
CompositeSwimLane with the
CoordinateSytem given by coordSystem.
geometry - the GeometryDescriptor to create the
CompositeSwimLane from
CompositeSwimLane
GeometryNotSupportedException - is thrown if the
GeometryDescriptor is not supported by a
CompositeSwimLanepublic abstract CompositeSwimLanePool newCompositeSwimLanePool(CoordinateSystem coordSystem)
CompositeSwimLanePool with the
CoordinateSytem given by coordSystem.
coordSystem - the CoordinateSystem for the new
CompositeSwimLanePool
CompositeSwimLanePoolpublic abstract CompositeTable newCompositeTable(CoordinateSystem coordSystem)
CompositeTable using the
CoordinateSystem given by parameter coordSystem.
coordSystem - the CoordinateSystem for the
CompositeTable.
CompositeTable
public abstract CompositeTable newCompositeTable(CoordinateSystem coordSystem,
int columns,
int rows)
CompositeTable with the given number of
columns and rows. The CoordinateSystem to be used is given
by parameter coordSystem.
coordSystem - the CoordinateSystemcolumns - number of columnsrows - number of row to be displayed
CompositeTable
public abstract CompositeTable newCompositeTable(CoordinateSystem coordSystem,
java.lang.Object[] columnHeaders,
java.lang.Object[] rowHeaders)
CompositeTable with the
CoordinateSystem given by parameter coordSystem.
The column headers of the table are specified with parameter
columnHeaders, the row headers with the given array
rowHeaders. The resulting table will have
columnHeaders.length() columns and
rowHeaders.length() rows.
coordSystem - the CoordinateSystem for the
CompositeTable.columnHeaders - Column-headersrowHeaders - Row-headers
CompositeTable
public abstract CompositeTable newCompositeTable(CoordinateSystem coordSystem,
com.tensegrity.composite.defaultimpl.table.CompositeTableModel model)
throws com.tensegrity.composite.defaultimpl.table.CompositeTableException
CompositeTable that uses the given
CoordinateSystem and the given
CompositeTableModel.
coordSystem - model - Table-Model
CompositeTable
com.tensegrity.composite.defaultimpl.table.CompositeTableExceptionpublic abstract CompositeLabel newCompositeLabel(CoordinateSystem coordSystem)
public static CompositeFactory newInstance()
CompositeFactory which can be used
to create objects from the composite framework.
CompositeFactory instance
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||