Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


oracle.adf.view.faces.bi.component.hierarchyViewer
Class Node

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.apache.myfaces.trinidad.component.UIXComponent
          extended by org.apache.myfaces.trinidad.component.UIXComponentBase
              extended by oracle.adf.view.faces.bi.component.hierarchyViewer.Node

All Implemented Interfaces:
java.util.EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class Node
extends org.apache.myfaces.trinidad.component.UIXComponentBase

Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey CLICK_BEHAVIOR_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_LISTENERS_KEY
           
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static org.apache.myfaces.trinidad.bean.PropertyKey CONTAINER_ID_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey DRAGGABLE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey FACET_NAME_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey HEIGHT_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey INLINE_STYLE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey LABEL_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey LAYOUT_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey NODE_ID_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey READ_ONLY_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SELECTABLE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SET_ANCHOR_LISTENER_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SHAPE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SHORT_DESC_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SHOW_EXPAND_CHILDREN_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SHOW_ISOLATE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SHOW_NAVIGATE_UP_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey STYLE_CLASS_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
static org.apache.myfaces.trinidad.bean.PropertyKey TYPE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey WIDTH_KEY
           

 

Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY

 

Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY

 

Constructor Summary
Node()
          Constructs an instance of the Node.

 

Method Summary
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 java.lang.String getClickBehavior()
          Gets the override build-in action.
 java.lang.Object getContainerId()
          Gets the parent container for this Node.
 java.lang.String getDraggable()
          Gets whether this node is draggable
 java.lang.String getFacetName()
          For internal use only
 java.lang.String getFamily()
           
 int getHeight()
          Gets the height of the node, in pixels, at full size
 java.lang.String getInlineStyle()
          Gets the CSS styles to use for this component.
 java.lang.String getLabel()
          Gets the label for this node
 java.lang.String getLayout()
          Gets the name of the layout that should be applied to nodes contained within this node (if any)
 java.lang.Object getNodeId()
          Gets a unique identifier for this node that can be used in conjunction with the startNode and endNode Link properties.
 java.lang.String getRendererType()
           
 javax.el.MethodExpression getSetAnchorListener()
           
 java.lang.String getShape()
          Gets the shape of the node.
 java.lang.String getShortDesc()
          Gets a short description of this node for user agents rendering to non-visual media (e.g.
 java.lang.String getStyleClass()
          Gets a CSS style class to use for this component.
 java.lang.String getType()
          Gets the types of nodes this stamp should be used for.
 int getWidth()
          Gets the width of the node, in pixels, at full size
 boolean isReadOnly()
           
 boolean isSelectable()
          Gets whether this node can be selected (true by default)
 boolean isShowExpandChildren()
          Gets Whether or not to render the expand children action.
 boolean isShowIsolate()
          Gets Whether or not to render the isolate action.
 boolean isShowNavigateUp()
          Gets Whether or not to render the navigate up action.
 void setClickBehavior(java.lang.String clickBehavior)
          Sets the override build-in action.
 void setContainerId(java.lang.Object containerId)
          Sets the parent container for this Node.
 void setDraggable(java.lang.String draggable)
          Sets whether this node is draggable
 void setFacetName(java.lang.String fn)
          For internal use only
 void setHeight(int height)
          Specifies the height of the node, in pixels, at full size
 void setInlineStyle(java.lang.String inlineStyle)
          Sets the CSS styles to use for this component.
 void setLabel(java.lang.String label)
          Sets the label for this node
 void setLayout(java.lang.String layout)
          Sets the name of the layout that should be applied to nodes contained within this node (if any)
 void setNodeId(java.lang.Object nodeId)
          Sets a unique identifier for this node that can be used in conjunction with the startNode and endNode Link properties.
 void setReadOnly(boolean readOnly)
           
 void setSelectable(boolean selectable)
          Sets whether this node can be selected (true by default)
 void setSetAnchorListener(javax.el.MethodExpression setAnchorListener)
           
 void setShape(java.lang.String shape)
          Sets the shape of the node.
 void setShortDesc(java.lang.String shortDesc)
          Sets a short description of this node for user agents rendering to non-visual media (e.g.
 void setShowExpandChildren(boolean showExpandChildren)
          Sets Whether or not to render the expand children action.
 void setShowIsolate(boolean showIsolate)
          Sets Whether or not to render the navigate up action.
 void setShowNavigateUp(boolean showNavigateUp)
          Sets Whether or not to render the navigate up action.
 void setStyleClass(java.lang.String styleClass)
          Sets a CSS style class to use for this component.
 void setType(java.lang.String type)
          Sets the types of nodes this stamp should be used for.
 void setWidth(int width)
          Specifies the width of the node, in pixels, at full size

 

Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addClientBehavior, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, clearInitialState, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientBehaviors, getClientId, getContainerClientId, getDefaultEventName, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, subscribeToEvent, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl

 

Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent
addPartialTarget, clearCachedClientIds, clearCachedClientIds, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTree

 

Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, setInView

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

WIDTH_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey WIDTH_KEY

HEIGHT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey HEIGHT_KEY

FACET_NAME_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey FACET_NAME_KEY

SHAPE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SHAPE_KEY

INLINE_STYLE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey INLINE_STYLE_KEY

STYLE_CLASS_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLE_CLASS_KEY

SHOW_EXPAND_CHILDREN_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOW_EXPAND_CHILDREN_KEY

SHOW_NAVIGATE_UP_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOW_NAVIGATE_UP_KEY

SHOW_ISOLATE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOW_ISOLATE_KEY

SET_ANCHOR_LISTENER_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SET_ANCHOR_LISTENER_KEY

TYPE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey TYPE_KEY

CLICK_BEHAVIOR_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CLICK_BEHAVIOR_KEY

SHORT_DESC_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SHORT_DESC_KEY

NODE_ID_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey NODE_ID_KEY

SELECTABLE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SELECTABLE_KEY

CONTAINER_ID_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CONTAINER_ID_KEY

LAYOUT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey LAYOUT_KEY

LABEL_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey LABEL_KEY

READ_ONLY_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey READ_ONLY_KEY

DRAGGABLE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey DRAGGABLE_KEY

CLIENT_LISTENERS_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_LISTENERS_KEY

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

Constructor Detail

Node

public Node()
Constructs an instance of the Node.

Method Detail

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Overrides:
getBeanType in class org.apache.myfaces.trinidad.component.UIXComponentBase

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class org.apache.myfaces.trinidad.component.UIXComponentBase

getRendererType

public java.lang.String getRendererType()
Overrides:
getRendererType in class org.apache.myfaces.trinidad.component.UIXComponentBase

setWidth

public void setWidth(int width)
Specifies the width of the node, in pixels, at full size

getWidth

public int getWidth()
Gets the width of the node, in pixels, at full size

setHeight

public void setHeight(int height)
Specifies the height of the node, in pixels, at full size

getHeight

public int getHeight()
Gets the height of the node, in pixels, at full size

setInlineStyle

public void setInlineStyle(java.lang.String inlineStyle)
Sets the CSS styles to use for this component. This is intended for basic style changes; you should use the skinning mechanism if you require any complex style changes.
Parameters:
inlineStyle - the new inlineStyle value

getInlineStyle

public java.lang.String getInlineStyle()
Gets the CSS styles to use for this component. This is intended for basic style changes; you should use the skinning mechanism if you require any complex style changes.
Returns:
the new inlineStyle value

getStyleClass

public final java.lang.String getStyleClass()
Gets a CSS style class to use for this component.
Returns:
the new styleClass value

setStyleClass

public final void setStyleClass(java.lang.String styleClass)
Sets a CSS style class to use for this component.
Parameters:
styleClass - the new styleClass value

setFacetName

public void setFacetName(java.lang.String fn)
For internal use only

getFacetName

public java.lang.String getFacetName()
For internal use only

setShape

public void setShape(java.lang.String shape)
Sets the shape of the node. Valid values are: "rect" - rectangular "roundedRect" - rectangular with rounded corners "ellipse" - elliptical
Parameters:
shape - the new shape value

getShape

public java.lang.String getShape()
Gets the shape of the node. Valid values are: "rect" - rectangular "roundedRect" - rectangular with rounded corners "ellipse" - elliptical
Returns:
the new shape value

isShowExpandChildren

public final boolean isShowExpandChildren()
Gets Whether or not to render the expand children action.
Returns:
the new showExpandChildren value

setShowExpandChildren

public final void setShowExpandChildren(boolean showExpandChildren)
Sets Whether or not to render the expand children action.
Parameters:
showExpandChildren - the new showExpandChildren value

isShowNavigateUp

public final boolean isShowNavigateUp()
Gets Whether or not to render the navigate up action.
Returns:
the new showNavigateUp value

setShowNavigateUp

public final void setShowNavigateUp(boolean showNavigateUp)
Sets Whether or not to render the navigate up action.
Parameters:
showNavigateUp - the new showNavigateUp value

isShowIsolate

public final boolean isShowIsolate()
Gets Whether or not to render the isolate action.
Returns:
the new showIsolate value

setShowIsolate

public final void setShowIsolate(boolean showIsolate)
Sets Whether or not to render the navigate up action.
Parameters:
showIsolate - the new showIsolate value

getSetAnchorListener

public final javax.el.MethodExpression getSetAnchorListener()

setSetAnchorListener

public final void setSetAnchorListener(javax.el.MethodExpression setAnchorListener)

setType

public void setType(java.lang.String type)
Sets the types of nodes this stamp should be used for. This is used in conjunction with the rendered attribute to determine which node template to stamp out for a given data element. The first node component whose type matches that of the data element will be stamped for that data element. If no type matches, then the first node whose rendered attributes evaluates to true will be stamped for that data element.
Parameters:
type - the new type value

getType

public java.lang.String getType()
Gets the types of nodes this stamp should be used for. This is used in conjunction with the rendered attribute to determine which node template to stamp out for a given data element. The first node component whose type matches that of the data element will be stamped for that data element. If no type matches, then the first node whose rendered attributes evaluates to true will be stamped for that data element.
Returns:
the new type value

setClickBehavior

public void setClickBehavior(java.lang.String clickBehavior)
Sets the override build-in action. The default value is focus. Valid values are: "focus" - set focus on the node "expandCollapse" - toggle between expand and collapse "isolateRestore" - toggle between isolate and restore "none" - no action
Parameters:
clickBehavior - the new type value

getClickBehavior

public java.lang.String getClickBehavior()
Gets the override build-in action. The default value is focus. Valid values are: "focus" - set focus on the node "expandCollapse" - toggle between expand and collapse "isolateRestore" - toggle between isolate and restore "none" - no action
Returns:
the new clickBehavior value

setShortDesc

public void setShortDesc(java.lang.String shortDesc)
Sets a short description of this node for user agents rendering to non-visual media (e.g. screen readers)
Parameters:
shortDesc - the new type value

getShortDesc

public java.lang.String getShortDesc()
Gets a short description of this node for user agents rendering to non-visual media (e.g. screen readers)
Returns:
the new shortDesc value

setNodeId

public void setNodeId(java.lang.Object nodeId)
Sets a unique identifier for this node that can be used in conjunction with the startNode and endNode Link properties.
Parameters:
nodeId - the unique identifier

getNodeId

public java.lang.Object getNodeId()
Gets a unique identifier for this node that can be used in conjunction with the startNode and endNode Link properties.
Returns:
the unique identifier

isSelectable

public final boolean isSelectable()
Gets whether this node can be selected (true by default)
Returns:
whether this node can be selected

setSelectable

public final void setSelectable(boolean selectable)
Sets whether this node can be selected (true by default)
Parameters:
selectable - whether this node can be selected

isReadOnly

public final boolean isReadOnly()

setReadOnly

public final void setReadOnly(boolean readOnly)

setContainerId

public void setContainerId(java.lang.Object containerId)
Sets the parent container for this Node. Should correspond to the nodeId of the container node.
Parameters:
containerId - the unique identifier for the container node

getContainerId

public java.lang.Object getContainerId()
Gets the parent container for this Node. Should correspond to the nodeId of the container node.
Returns:
the unique identifier for the container node

setLayout

public final void setLayout(java.lang.String layout)
Sets the name of the layout that should be applied to nodes contained within this node (if any)
Parameters:
layout - the name of the layout

getLayout

public final java.lang.String getLayout()
Gets the name of the layout that should be applied to nodes contained within this node (if any)
Returns:
the name of the layout

setLabel

public final void setLabel(java.lang.String label)
Sets the label for this node
Parameters:
label - the label for this node

getLabel

public final java.lang.String getLabel()
Gets the label for this node
Returns:
the label for this node

setDraggable

public void setDraggable(java.lang.String draggable)
Sets whether this node is draggable
Parameters:
draggable - whether this node is draggable

getDraggable

public java.lang.String getDraggable()
Gets whether this node is draggable
Returns:
the draggable value

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


Copyright © 1997, 2012, Oracle. All rights reserved.