|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.DefaultBoundedRangeModel
org.freehep.jas.extension.tupleExplorer.cut.CutVariableSliderModel
public class CutVariableSliderModel
Field Summary | |
---|---|
static int |
CENTER_SLIDER
|
static int |
LEFT_SLIDER
There are three types of sliders |
static int |
RIGHT_SLIDER
|
Fields inherited from class javax.swing.DefaultBoundedRangeModel |
---|
changeEvent, listenerList |
Constructor Summary | |
---|---|
CutVariableSliderModel(CutVariable cutVar)
Create a new CutVariableSliderModel object. |
|
CutVariableSliderModel(CutVariable cutVar,
int type)
Create a new CutVariableSliderModel object. |
Method Summary | |
---|---|
CutVariable |
getCutVariable()
Get the Cut that this Panel is a representation of. |
int |
getType()
Get the type of this model. |
boolean |
isEnabled()
Check if the cutVariable is enabled |
void |
removeCutVariableListeners()
When closing the GUI it is important to properly remove all the listeners associated with the CutVariable. |
void |
setType(int type)
Set the type of this model. |
Methods inherited from class javax.swing.DefaultBoundedRangeModel |
---|
addChangeListener, fireStateChanged, getChangeListeners, getExtent, getListeners, getMaximum, getMinimum, getValue, getValueIsAdjusting, removeChangeListener, setExtent, setMaximum, setMinimum, setRangeProperties, setValue, setValueIsAdjusting, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int LEFT_SLIDER
public static final int CENTER_SLIDER
public static final int RIGHT_SLIDER
Constructor Detail |
---|
public CutVariableSliderModel(CutVariable cutVar, int type)
cutVar
- the cutVariable the model is representingtype
- the type of this modelpublic CutVariableSliderModel(CutVariable cutVar)
cutVar
- the cutVariable the model is representingMethod Detail |
---|
public CutVariable getCutVariable()
getCutVariable
in interface CutVariableGUI
public void removeCutVariableListeners()
removeCutVariableListeners
in interface CutVariableGUI
public boolean isEnabled()
true<\code> if the variable is enabled
false<\code> otherwise
public void setType(int type)
type
- the type of this modelpublic int getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |