ilog.views.appframe.docview.project
Interface IlvDefaultDataContainer.Node

All Known Implementing Classes:
IlvDefaultDataContainer.AbstractNode
Enclosing class:
IlvDefaultDataContainer

public static interface IlvDefaultDataContainer.Node

Defines nodes manipulated by an IlvDefaultDataContainer.


Method Summary
 boolean acceptChild(String category)
          Determines whether the node can be added a child with the specified category.
 boolean canRemoveChild(Object node)
          Determines whether the specified child node can be removed from this parent node.
 String getCategory()
          Returns the category of the node.
 Object getProperty(String propertyName)
          Returns the value of the node property with the specified propertyName.
 String getTitle()
          Returns the title of this node.
 Object setProperty(String propertyName, Object value)
          Sets a new value to the property of the node with the specified propertyName.
 void setTitle(String title)
          Sets a title for the node.
 

Method Detail

getTitle

String getTitle()
Returns the title of this node.

See Also:
setTitle(java.lang.String)

setTitle

void setTitle(String title)
Sets a title for the node.

Parameters:
title - The new title of the node.
See Also:
getTitle()

getCategory

String getCategory()
Returns the category of the node.


getProperty

Object getProperty(String propertyName)
Returns the value of the node property with the specified propertyName.

Parameters:
propertyName - The name of the property to return the value from.
Returns:
The property value.
See Also:
setProperty(java.lang.String, java.lang.Object)

setProperty

Object setProperty(String propertyName,
                   Object value)
Sets a new value to the property of the node with the specified propertyName.

Parameters:
propertyName - The name of the property to change the value of.
value - The new value of the property.
Returns:
The previous value of the property; null if this property was not defined.
See Also:
getProperty(java.lang.String)

acceptChild

boolean acceptChild(String category)
Determines whether the node can be added a child with the specified category.

Parameters:
category - The category.
Returns:
true if the node accepts to receive a node with the specified category as a child; false otherwise.

canRemoveChild

boolean canRemoveChild(Object node)
Determines whether the specified child node can be removed from this parent node.

Parameters:
node - The node to remove.
Returns:
true if the node can be removed; false otherwise.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.