public interface ModelItem extends PropertyChangeNotifier
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION_PROPERTY |
static String |
ICON_PROPERTY |
static String |
LABEL_PROPERTY |
static String |
NAME_PROPERTY |
Modifier and Type | Method and Description |
---|---|
List<? extends ModelItem> |
getChildren() |
String |
getDescription() |
ImageIcon |
getIcon() |
String |
getId() |
String |
getName() |
ModelItem |
getParent() |
Project |
getProject()
Gets the project that this ModelItem object is part of.
|
Settings |
getSettings() |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
static final String NAME_PROPERTY
static final String ICON_PROPERTY
static final String DESCRIPTION_PROPERTY
static final String LABEL_PROPERTY
String getName()
String getId()
ImageIcon getIcon()
String getDescription()
Settings getSettings()
ModelItem getParent()
Project getProject()
Workspace
object, an UnsupportedOperationException
is thrown.UnsupportedOperationException
- If this model item is not the descendant of a projectCopyright © 2019. All Rights Reserved.