@Generated(value="net.officefloor.model.generate.ModelGenerator") public class PropertyModel extends AbstractModel implements ItemModel<PropertyModel>
Modifier and Type | Class and Description |
---|---|
static class |
PropertyModel.PropertyEvent |
Constructor and Description |
---|
PropertyModel()
Default constructor.
|
PropertyModel(String name,
String value)
Convenience constructor.
|
PropertyModel(String name,
String value,
int x,
int y)
Convenience constructor allowing XY initialising.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getValue() |
RemoveConnectionsAction<PropertyModel> |
removeConnections()
Remove Connections.
|
void |
setName(String name) |
void |
setValue(String value) |
addItemToList, addPropertyChangeListener, changeField, firePropertyChange, getX, getY, removeItemFromList, removePropertyChangeListener, setX, setY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getX, getY, removePropertyChangeListener, setX, setY
public PropertyModel()
public PropertyModel(String name, String value)
name
- Name.value
- Value.public String getName()
public void setName(String name)
name
- Name.public String getValue()
public void setValue(String value)
value
- Value.public RemoveConnectionsAction<PropertyModel> removeConnections()
removeConnections
in interface ItemModel<PropertyModel>
RemoveConnectionsAction
to remove the ConnectionModel
instances.Copyright © 2005–2016. All rights reserved.