net.sf.arise.inspector
Class CollectionNode
java.lang.Object
|
+--net.sf.arise.inspector.AbstractInspectorNode
|
+--net.sf.arise.inspector.CollectionNode
- All Implemented Interfaces:
- InspectorNode
- class CollectionNode
- extends AbstractInspectorNode
- Author:
- Maja S Bratseth
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
locator
protected ServiceLocator locator
CollectionNode
public CollectionNode(AbstractInspectorNode parent,
java.lang.Object realObject,
java.lang.reflect.Field field,
java.lang.String label)
addChildren
protected void addChildren(int levels)
- Description copied from class:
AbstractInspectorNode
- Add node type specific children. Used for more user friendly
display of collections, maps and arrays.
- Specified by:
addChildren in class AbstractInspectorNode
isRealObject
public boolean isRealObject()
setServiceLocator
public void setServiceLocator(ServiceLocator locator)
- Specified by:
setServiceLocator in interface InspectorNode
id
public final java.lang.String id()
- Specified by:
id in interface InspectorNode
addChild
protected final void addChild(AbstractInspectorNode child)
parent
final AbstractInspectorNode parent()
children
public final InspectorNode[] children()
- Specified by:
children in interface InspectorNode
isExpanded
public final boolean isExpanded()
- Specified by:
isExpanded in interface InspectorNode
open
final void open()
close
final void close()
setOpenRecursively
final void setOpenRecursively(boolean open)
getRealObject
public final java.lang.Object getRealObject()
setPrimitive
protected final void setPrimitive(boolean primitive)
getLabel
protected java.lang.String getLabel()
getSomeClass
java.lang.Class getSomeClass()
isLeaf
public final boolean isLeaf()
- Specified by:
isLeaf in interface InspectorNode
toDisplayString
public java.lang.String toDisplayString()
- Specified by:
toDisplayString in interface InspectorNode
expand
public final void expand(int levels)
- Specified by:
expand in interface InspectorNode
findNode
public final InspectorNode findNode(java.lang.String id)
setSelectedNode
final void setSelectedNode(AbstractInspectorNode node)
createNode
protected final AbstractInspectorNode createNode(java.lang.Object value)
createNode
protected final AbstractInspectorNode createNode(java.lang.Object value,
java.lang.String label)
createNode
protected final AbstractInspectorNode createNode(java.lang.Object value,
java.lang.reflect.Field field)
createNode
protected final AbstractInspectorNode createNode(java.lang.Object value,
java.lang.reflect.Field field,
java.lang.String label)
newNode
protected static final AbstractInspectorNode newNode(java.lang.Object value)
newNode
protected static final AbstractInspectorNode newNode(AbstractInspectorNode parent,
java.lang.Object value,
java.lang.reflect.Field field,
java.lang.String label)
createSizeNode
protected final AbstractInspectorNode createSizeNode(int size)
All code and documentation is
Copyright (c) : 2000-2003 Kjetil Valstadsve & Maja S. Bratseth