Class WoofObjectsModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.objects.WoofObjectsModel
-
- All Implemented Interfaces:
ItemModel<WoofObjectsModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class WoofObjectsModel extends AbstractModel implements ItemModel<WoofObjectsModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WoofObjectsModel.WoofObjectsEvent
-
Constructor Summary
Constructors Constructor Description WoofObjectsModel()
Default constructor.WoofObjectsModel(WoofObjectSourceModel[] woofObjectSource)
Convenience constructor.WoofObjectsModel(WoofObjectSourceModel[] woofObjectSource, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addWoofObjectSource(WoofObjectSourceModel woofObjectSource)
java.util.List<WoofObjectSourceModel>
getWoofObjectSources()
RemoveConnectionsAction<WoofObjectsModel>
removeConnections()
Remove Connections.void
removeWoofObjectSource(WoofObjectSourceModel woofObjectSource)
-
Methods inherited from class net.officefloor.model.AbstractModel
addItemToList, addPropertyChangeListener, changeField, firePropertyChange, getX, getY, removeItemFromList, removePropertyChangeListener, setX, setY
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.model.Model
addPropertyChangeListener, getX, getY, removePropertyChangeListener, setX, setY
-
-
-
-
Constructor Detail
-
WoofObjectsModel
public WoofObjectsModel()
Default constructor.
-
WoofObjectsModel
public WoofObjectsModel(WoofObjectSourceModel[] woofObjectSource)
Convenience constructor.- Parameters:
woofObjectSource
- Woof object source.
-
WoofObjectsModel
public WoofObjectsModel(WoofObjectSourceModel[] woofObjectSource, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
woofObjectSource
- Woof object source.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getWoofObjectSources
public java.util.List<WoofObjectSourceModel> getWoofObjectSources()
- Returns:
- Woof object source.
-
addWoofObjectSource
public void addWoofObjectSource(WoofObjectSourceModel woofObjectSource)
- Parameters:
woofObjectSource
- Woof object source.
-
removeWoofObjectSource
public void removeWoofObjectSource(WoofObjectSourceModel woofObjectSource)
- Parameters:
woofObjectSource
- Woof object source.
-
removeConnections
public RemoveConnectionsAction<WoofObjectsModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<WoofObjectsModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-