public abstract class AbstractModelItem extends Object implements ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
AbstractModelItem() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
fireIndexedPropertyChange(String propertyName,
int index,
boolean oldValue,
boolean newValue) |
void |
fireIndexedPropertyChange(String propertyName,
int index,
int oldValue,
int newValue) |
void |
fireIndexedPropertyChange(String propertyName,
int index,
Object oldValue,
Object newValue) |
List<? extends ModelItem> |
getChildren() |
Project |
getProject()
Gets the project that this ModelItem object is part of.
|
void |
notifyPropertyChanged(String name,
boolean oldValue,
boolean newValue) |
void |
notifyPropertyChanged(String name,
int oldValue,
int newValue) |
void |
notifyPropertyChanged(String name,
Object oldValue,
Object newValue) |
void |
notifyPropertyChanged(String name,
String oldValue,
String newValue) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getIcon, getId, getName, getParent, getSettings
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertyChangeNotifier
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertyChangeNotifier
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertyChangeNotifier
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertyChangeNotifier
public void notifyPropertyChanged(String name, Object oldValue, Object newValue)
public void notifyPropertyChanged(String name, String oldValue, String newValue)
public void notifyPropertyChanged(String name, int oldValue, int newValue)
public void notifyPropertyChanged(String name, boolean oldValue, boolean newValue)
public void fireIndexedPropertyChange(String propertyName, int index, boolean oldValue, boolean newValue)
public void fireIndexedPropertyChange(String propertyName, int index, int oldValue, int newValue)
public void fireIndexedPropertyChange(String propertyName, int index, Object oldValue, Object newValue)
public List<? extends ModelItem> getChildren()
getChildren
in interface ModelItem
public Project getProject()
ModelItem
Workspace
object, an UnsupportedOperationException
is thrown.getProject
in interface ModelItem
Copyright © 2019. All Rights Reserved.