|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.jas.extension.tupleExplorer.cut.AbstractCut
public abstract class AbstractCut
AbstractCut abstract implementation of Cut
Field Summary | |
---|---|
protected EventListenerList |
cutListeners
|
Fields inherited from interface org.freehep.jas.extension.tupleExplorer.cut.Cut |
---|
CUT_DISABLED, CUT_DISABLED_INVERTED, CUT_ENABLED, CUT_INVERTED |
Constructor Summary | |
---|---|
AbstractCut(String cutName)
The default constructor |
Method Summary | |
---|---|
void |
addCutListener(CutListener cutListener)
Add a CutListener to the AbstractCut |
protected void |
fireCutChanged()
Fire a CutChangedEvent when the cut's accept<\code> condition is changed. |
CutDataSet |
getCutDataSet()
Get the CutDataSet on which the cut is applied |
CutListener |
getCutGUIListener()
Get the CutListener internal component of this Cut. |
EventListenerList |
getCutListeners()
Get the list of CutListeners listening to this Cut |
String |
getName()
Get the name of the AbstractCut |
int |
getState()
Get the state of the AbstractCut. |
void |
invert()
Invert the cut. |
boolean |
isEnabled()
Check if the Cut is enabled |
boolean |
isInverted()
Check if the Cut is inverted |
void |
removeCutListener(CutListener cutListener)
Remove a CutListener from the AbstractCut |
void |
setCutDataSet(CutDataSet cutDataSet)
Set the CutDataSet on which the cut is applied |
void |
setDisabled(boolean isDisabled)
Disable the cut. |
void |
setName(String cutName)
Set the name of the AbstractCut |
void |
setState(int cutState)
Set the state of the AbstractCut. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.freehep.jas.extension.tupleExplorer.cut.Cut |
---|
accept |
Field Detail |
---|
protected EventListenerList cutListeners
Constructor Detail |
---|
public AbstractCut(String cutName)
cutName
- the name of the cutMethod Detail |
---|
public String getName()
getName
in interface Cut
public void setName(String cutName)
setName
in interface Cut
cutName
- the name of the AbstractCutpublic int getState()
getState
in interface Cut
public void setState(int cutState)
setState
in interface Cut
cutState
- the state of the AbstractCutpublic boolean isEnabled()
isEnabled
in interface Cut
true<\code> if the cut is enabled
false<\code> otherwise
public boolean isInverted()
isInverted
in interface Cut
true<\code> if the cut is inverted
false<\code> otherwise
public CutDataSet getCutDataSet()
getCutDataSet
in interface Cut
public void setCutDataSet(CutDataSet cutDataSet)
setCutDataSet
in interface Cut
cutDataSet
- the CutDataSet.public void addCutListener(CutListener cutListener)
addCutListener
in interface Cut
cutListener
- the Listenere to addpublic void removeCutListener(CutListener cutListener)
removeCutListener
in interface Cut
cutListener
- the CutListener to removeprotected void fireCutChanged()
accept<\code> condition is changed.
Invoke the cutStateChanged<\code> method of all the
listeners
- See Also:
CutListener.cutChanged( CutChangedEvent )
public EventListenerList getCutListeners()
getCutListeners
in interface Cut
public CutListener getCutGUIListener()
getCutGUIListener
in interface Cut
public void invert()
invert
in interface Cut
public void setDisabled(boolean isDisabled)
setDisabled
in interface Cut
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |