Package net.officefloor.model.office
Class GovernanceAreaModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.GovernanceAreaModel
-
- All Implemented Interfaces:
ItemModel<GovernanceAreaModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class GovernanceAreaModel extends AbstractModel implements ItemModel<GovernanceAreaModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GovernanceAreaModel.GovernanceAreaEvent
-
Constructor Summary
Constructors Constructor Description GovernanceAreaModel()
Default constructor.GovernanceAreaModel(int height, int width)
Convenience constructor.GovernanceAreaModel(int height, int width, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
int
getWidth()
RemoveConnectionsAction<GovernanceAreaModel>
removeConnections()
Remove Connections.void
setHeight(int height)
void
setWidth(int width)
-
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
-
GovernanceAreaModel
public GovernanceAreaModel()
Default constructor.
-
GovernanceAreaModel
public GovernanceAreaModel(int height, int width)
Convenience constructor.- Parameters:
height
- Height.width
- Width.
-
GovernanceAreaModel
public GovernanceAreaModel(int height, int width, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
height
- Height.width
- Width.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getHeight
public int getHeight()
- Returns:
- Height.
-
setHeight
public void setHeight(int height)
- Parameters:
height
- Height.
-
getWidth
public int getWidth()
- Returns:
- Width.
-
setWidth
public void setWidth(int width)
- Parameters:
width
- Width.
-
removeConnections
public RemoveConnectionsAction<GovernanceAreaModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<GovernanceAreaModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-