Class PropertyFileModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.objects.PropertyFileModel
-
- All Implemented Interfaces:
ItemModel<PropertyFileModel>
,Model
,PropertySourceModel
@Generated("net.officefloor.model.generate.ModelGenerator") public class PropertyFileModel extends AbstractModel implements ItemModel<PropertyFileModel>, PropertySourceModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertyFileModel.PropertyFileEvent
-
Constructor Summary
Constructors Constructor Description PropertyFileModel()
Default constructor.PropertyFileModel(java.lang.String path)
Convenience constructor.PropertyFileModel(java.lang.String path, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPath()
RemoveConnectionsAction<PropertyFileModel>
removeConnections()
Remove Connections.void
setPath(java.lang.String path)
-
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
-
PropertyFileModel
public PropertyFileModel()
Default constructor.
-
PropertyFileModel
public PropertyFileModel(java.lang.String path)
Convenience constructor.- Parameters:
path
- Path.
-
PropertyFileModel
public PropertyFileModel(java.lang.String path, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
path
- Path.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getPath
public java.lang.String getPath()
- Returns:
- Path.
-
setPath
public void setPath(java.lang.String path)
- Parameters:
path
- Path.
-
removeConnections
public RemoveConnectionsAction<PropertyFileModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<PropertyFileModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-