hep.wired.cut
Class StringConditionEditor

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

public class StringConditionEditor
extends ConditionEditor

Version:
$Id: $
Author:
Dmitry Onoprienko

Field Summary
 
Fields inherited from class hep.wired.cut.ConditionEditor
_condition
 
Constructor Summary
StringConditionEditor()
           
 
Method Summary
 StringCondition getCondition()
          Returns Condition being edited.
 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.
 void stateChanged(ChangeEvent event)
          Responds to events from ConditionDefinition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringConditionEditor

public StringConditionEditor()
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.

Overrides:
setCondition in class ConditionEditor

stateChanged

public void stateChanged(ChangeEvent event)
Responds to events from ConditionDefinition. Updates the domain.


getPanel

public JPanel getPanel()
Returns GUI for this editor.

Specified by:
getPanel in class ConditionEditor

getType

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

Overrides:
getType in class ConditionEditor

getCondition

public StringCondition getCondition()
Returns Condition being edited.

Overrides:
getCondition in class ConditionEditor


Copyright © 1996-2013 FreeHEP. All Rights Reserved.