Package net.officefloor.woof.model.teams
Class WoofTeamsModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.teams.WoofTeamsModel
-
- All Implemented Interfaces:
ItemModel<WoofTeamsModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class WoofTeamsModel extends AbstractModel implements ItemModel<WoofTeamsModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WoofTeamsModel.WoofTeamsEvent
-
Constructor Summary
Constructors Constructor Description WoofTeamsModel()
Default constructor.WoofTeamsModel(WoofTeamModel[] woofTeam)
Convenience constructor.WoofTeamsModel(WoofTeamModel[] woofTeam, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addWoofTeam(WoofTeamModel woofTeam)
java.util.List<WoofTeamModel>
getWoofTeams()
RemoveConnectionsAction<WoofTeamsModel>
removeConnections()
Remove Connections.void
removeWoofTeam(WoofTeamModel woofTeam)
-
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
-
WoofTeamsModel
public WoofTeamsModel()
Default constructor.
-
WoofTeamsModel
public WoofTeamsModel(WoofTeamModel[] woofTeam)
Convenience constructor.- Parameters:
woofTeam
- Woof team.
-
WoofTeamsModel
public WoofTeamsModel(WoofTeamModel[] woofTeam, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
woofTeam
- Woof team.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getWoofTeams
public java.util.List<WoofTeamModel> getWoofTeams()
- Returns:
- Woof team.
-
addWoofTeam
public void addWoofTeam(WoofTeamModel woofTeam)
- Parameters:
woofTeam
- Woof team.
-
removeWoofTeam
public void removeWoofTeam(WoofTeamModel woofTeam)
- Parameters:
woofTeam
- Woof team.
-
removeConnections
public RemoveConnectionsAction<WoofTeamsModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<WoofTeamsModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-