org.norther.tammi.spray.ui
Class SingleSelectionTree

java.lang.Object
  extended by org.norther.tammi.core.rt.VariableX
      extended by org.norther.tammi.spray.ui.AbstractSelectionTree
          extended by org.norther.tammi.spray.ui.InteractiveSelectionTree
              extended by org.norther.tammi.spray.ui.SingleSelectionTree
All Implemented Interfaces:
Serializable, Cloneable, DynamicMBean, MBeanRegistration, Traceable, Identifiable, ReferableMBean<Variable>, Variable

public class SingleSelectionTree
extends InteractiveSelectionTree

A selection tree variable for single selections. The selection enumeration is not automatically ordered or sorted but lists its original order (actually, tree selections shouldn't be ordered afterwards to maintain original tree levels).

Version:
$Id: SingleSelectionTree.java,v 1.13 2009/09/28 15:08:29 cvsimp Exp $
Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.norther.tammi.core.rt.Variable
ADD_ATTRIBUTE_ELEMENT, ADD_ATTRIBUTE_INFO, ADD_VALIDATED_ELEMENT, ATTRIBUTE_ELEMENT_SEPARATOR, ATTRIBUTE_INFO, ATTRIBUTE_LENGTH, ATTRIBUTE_LIST, ATTRIBUTE_POSITION, ATTRIBUTE_VALUES, CLEAR_ATTRIBUTE_INFO, CLEAR_ATTRIBUTE_VALUES, CONTAINS_ATTRIBUTE, CONTAINS_TRAIT, EXPORT_ATTRIBUTES, GET_ATTRIBUTE_ELEMENT, GET_ATTRIBUTE_VALUE, GET_RECURSIVE_ELEMENT, GET_RECURSIVE_VALUE, GET_VALIDATED_ELEMENT, GET_VALIDATED_VALUE, ID, ID_ATTRIBUTE_LIST, IMPORT_ATTRIBUTES, REMOVE_ATTRIBUTE_ELEMENT, REMOVE_VALIDATED_ELEMENT, REPLACE_ATTRIBUTE_INFO, RESET_VALIDATED_VALUES, SET_ATTRIBUTE_ELEMENT, SET_ATTRIBUTE_VALUE, SET_ATTRIBUTE_VALUES, SET_VALIDATED_ELEMENT, SET_VALIDATED_VALUE, TYPE, VALIDATE_ATTRIBUTE_VALUES, VALIDATED_VALUES, VARIABLE_INFO
 
Fields inherited from interface org.norther.tammi.core.base.ReferableMBean
MBEAN, NS
 
Constructor Summary
SingleSelectionTree()
          Constructs a new selection.
SingleSelectionTree(String type, MBeanReference<? extends VariableRegistry> vr)
          Constructs a new selection for virtual subtypes.
 
Method Summary
 
Methods inherited from class org.norther.tammi.core.rt.VariableX
addAttributeElement, addAttributeElement, addAttributeInfo, addAttributeInfoIfAbsent, addTraceListener, addValidatedElement, addValidatedElement, attributeInfo, attributeInfo, attributeInfoRegistered, attributeLength, attributeList, attributePosition, clearAttributeInfo, clearAttributeValues, clearLastModified, clearTraceListeners, clone, containsAttribute, containsTrait, equals, exportAttributes, getAttribute, getAttributeElement, getAttributes, getAttributeValue, getAttributeValue, getAttributeValues, getAttributeValues, getCanonicalName, getId, getInternalAttributeValue, getLastModified, getLastModified, getMBean, getMBeanInfo, getMBeanServer, getObjectName, getRecursiveElement, getRecursiveValue, getType, getValidatedElement, getValidatedValue, idAttributeList, importAttributes, invoke, isEmpty, postDeregister, postRegister, preDeregister, preRegister, putAttributeElement, putAttributeValue, putAttributeValues, putInternalAttributeValue, putInternalAttributeValue, registerAttributeInfo, removeAttributeElement, removeAttributeElement, removeAttributeElement, removeTraceListener, removeValidatedElement, removeValidatedElement, replaceAttributeInfo, resetValidatedValues, sendNotification, setAttribute, setAttributeElement, setAttributeElement, setAttributes, setAttributeValue, setAttributeValues, setAttributeValues, setCanonicalName, setId, setLastModified, setObjectName, setValidatedElement, setValidatedValue, toString, validateAttributeValue, validateAttributeValues, validateAttributeValues, validateAttributeValues, validatedValues, validateMandatoryValue, variableInfo
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleSelectionTree

public SingleSelectionTree()
Constructs a new selection.


SingleSelectionTree

public SingleSelectionTree(String type,
                           MBeanReference<? extends VariableRegistry> vr)
Constructs a new selection for virtual subtypes.

Parameters:
type - the type.
vr - the registry.


Copyright © 2004 The Norther Organization. All rights reserved.