hep.wired.cut
Class ConditionEditor

java.lang.Object
  extended by hep.wired.cut.ConditionEditor
All Implemented Interfaces:
EventListener, ChangeListener
Direct Known Subclasses:
SliderEditor, StringConditionEditor

public abstract class ConditionEditor
extends Object
implements ChangeListener

Base class for condition editors.

Version:
$Id: $
Author:
Dmitry Onoprienko

Field Summary
protected  Condition _condition
           
 
Constructor Summary
ConditionEditor()
           
 
Method Summary
 Condition getCondition()
          Returns Condition being edited.
abstract  JPanel getPanel()
          Returns GUI for this editor.
 ConditionDefinition.Type getType()
          Returns the type of condition handled by this editor.
 void setCondition(Condition condition)
          Sets Condition to be edited.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.event.ChangeListener
stateChanged
 

Field Detail

_condition

protected Condition _condition
Constructor Detail

ConditionEditor

public ConditionEditor()
Method Detail

setCondition

public void setCondition(Condition condition)
Sets Condition to be edited. If called with null argument, resets the editor, eliminating any references to previously edited condition.


getCondition

public Condition getCondition()
Returns Condition being edited.


getType

public ConditionDefinition.Type getType()
Returns the type of condition handled by this editor.


getPanel

public abstract JPanel getPanel()
Returns GUI for this editor.



Copyright © 1996-2013 FreeHEP. All Rights Reserved.