|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umd.cfar.lamp.viper.util.AbstractViperSelection edu.umd.cfar.lamp.viper.util.AbstractViperSubTree edu.umd.cfar.lamp.viper.util.AbstractSingleViperSubTree edu.umd.cfar.lamp.viper.util.AttributeSelection
A selection model for a single attribute.
Field Summary |
Fields inherited from class edu.umd.cfar.lamp.viper.util.AbstractViperSelection |
notifyingListeners |
Constructor Summary | |
AttributeSelection()
|
Method Summary | |
AttrConfig |
getFirstAttrConfig()
Get all the first attribute schema node in the selection. |
Attribute |
getFirstAttribute()
Get all the first attribute node in the selection. |
Config |
getFirstConfig()
Get all the first descriptor schema node in the selection. |
Descriptor |
getFirstDescriptor()
Get all the first descriptor node in the selection. |
Sourcefile |
getFirstSourcefile()
Get all the first sourcefile node in the selection. |
ViperData |
getRoot()
Gets the root these elements are selected from. |
boolean |
isEmpty()
Tests to see if something is selected. |
void |
setAttribute(Attribute attribute)
Sets the selected attribute. |
Methods inherited from class edu.umd.cfar.lamp.viper.util.AbstractSingleViperSubTree |
getAttrConfigs, getAttributes, getConfigs, getDescriptors, getSourcefiles, isMultipleSelectionAllowedOn, isSelected |
Methods inherited from class edu.umd.cfar.lamp.viper.util.AbstractViperSubTree |
fireChangeEvent, fireSelectionChanged, getSelectedBy, isFilteredBy, toString |
Methods inherited from class edu.umd.cfar.lamp.viper.util.AbstractViperSelection |
addChangeListener, getChangeListeners, removeChangeListener, writeLock, writeUnlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.umd.cfar.lamp.viper.util.ViperSelection |
addChangeListener, getChangeListeners, removeChangeListener |
Constructor Detail |
public AttributeSelection()
Method Detail |
public void setAttribute(Attribute attribute)
attribute
- the attribute to selectpublic ViperData getRoot()
ViperSubTree
ViperSubTree.getRoot()
public Sourcefile getFirstSourcefile()
ViperSubTree
ViperSubTree.getFirstSourcefile()
public Config getFirstConfig()
ViperSubTree
ViperSubTree.getFirstConfig()
public AttrConfig getFirstAttrConfig()
ViperSubTree
ViperSubTree.getFirstAttrConfig()
public Descriptor getFirstDescriptor()
ViperSubTree
ViperSubTree.getFirstDescriptor()
public Attribute getFirstAttribute()
ViperSubTree
ViperSubTree.getFirstAttribute()
public boolean isEmpty()
ViperSelection
isEmpty
in interface ViperSelection
isEmpty
in class AbstractViperSubTree
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |