public class Region extends AbstractModel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTYNAME_COLOR |
static java.lang.String |
PROPERTYNAME_NAME |
static java.lang.String |
PROPERTYNAME_SUB_REGIONS |
propertyChangeSupport
Constructor and Description |
---|
Region(java.lang.String name,
java.awt.Color color) |
Modifier and Type | Method and Description |
---|---|
void |
add(SubRegion e) |
java.awt.Color |
getColor() |
java.lang.String |
getName() |
com.jgoodies.common.collect.ObservableList<SubRegion> |
getSubRegions() |
void |
setColor(java.awt.Color color) |
void |
setName(java.lang.String name) |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener
public static final java.lang.String PROPERTYNAME_SUB_REGIONS
public static final java.lang.String PROPERTYNAME_COLOR
public static final java.lang.String PROPERTYNAME_NAME
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
public java.lang.String getName()
public void setName(java.lang.String name)
public void add(SubRegion e)
public com.jgoodies.common.collect.ObservableList<SubRegion> getSubRegions()