HiRISE

HiRISE.HiVali
Class ValidationNode

java.lang.Object
  extended by org.jdesktop.swingx.treetable.AbstractMutableTreeTableNode
      extended by org.jdesktop.swingx.treetable.DefaultMutableTreeTableNode
          extended by HiRISE.HiVali.ValidationNode
All Implemented Interfaces:
TreeNode, MutableTreeTableNode, TreeTableNode
Direct Known Subclasses:
ObservationTreeNode

public class ValidationNode
extends DefaultMutableTreeTableNode

Version:
1.5
Author:
guym

Field Summary
static String ID
          CVS ID
 
Fields inherited from class org.jdesktop.swingx.treetable.AbstractMutableTreeTableNode
allowsChildren, children, parent, userObject
 
Constructor Summary
ValidationNode(String name)
           
 
Method Summary
 Map<String,Object> getData()
           
 Object getData(String key)
           
 int getLevel()
           
 ValidationState getState()
          Get the current state.
 void removeAllChildren()
           
 void setData(Map<String,Object> data)
           
 void setData(String key, Object value)
           
static void setIgnoreChannels(Vector ignore_chans)
          Sets a list of channels to ignore if invalid.
 void setState(ValidationState state)
          Set the state
 void setState(ValidationState state, boolean recurse)
           
 
Methods inherited from class org.jdesktop.swingx.treetable.DefaultMutableTreeTableNode
getColumnCount, getValueAt, isEditable, setValueAt
 
Methods inherited from class org.jdesktop.swingx.treetable.AbstractMutableTreeTableNode
add, children, createChildrenList, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, getUserObject, insert, isLeaf, remove, remove, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values
Constructor Detail

ValidationNode

public ValidationNode(String name)
Parameters:
name -
Method Detail

getData

public Map<String,Object> getData()

getData

public Object getData(String key)

setData

public void setData(Map<String,Object> data)

setData

public void setData(String key,
                    Object value)

setIgnoreChannels

public static void setIgnoreChannels(Vector ignore_chans)
Sets a list of channels to ignore if invalid. Is used to not invalidate a task if there is a ccd with known problems.


removeAllChildren

public void removeAllChildren()

getState

public ValidationState getState()
Get the current state. If this is a branch node, the state represents the sum of states of all its leaf nodes.

Returns:
The state

setState

public void setState(ValidationState state)
Set the state

Parameters:
state -

setState

public void setState(ValidationState state,
                     boolean recurse)

getLevel

public int getLevel()

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona