public class UIDiagramNode
extends org.apache.myfaces.trinidad.component.UIXComponentBase
Modifier and Type | Field and Description |
---|---|
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_BEHAVIOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CONTAINER_ID_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CONTAINER_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DRAG_FLAVOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DRAGGABLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DROP_FLAVORS_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 |
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 |
OVERVIEW_CONTAINER_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
OVERVIEW_STYLE_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 |
SHORT_DESC_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOW_DISCLOSE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOW_DRILL_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOW_ISOLATE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOW_NODE_ACTIONS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOW_STACK_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
WIDTH_KEY |
Constructor and Description |
---|
UIDiagramNode()
Constructs an instance of the node.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.lang.String |
getContainerBehavior()
Gets the container behavior for this node.
|
java.lang.Object |
getContainerId()
Gets the parent container for this Node.
|
java.lang.String |
getContainerStyle()
Gets the style of the container background when this node is disclosed
|
java.lang.String |
getDragFlavor()
Retrieves the drag flavor for the diagram node.
|
java.lang.String |
getDraggable()
Gets whether this node is draggable
|
java.lang.String[] |
getDropFlavors()
Retrieves the array of drop flavors for the diagram node.
|
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 |
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 |
getOverviewContainerStyle()
Gets the style of the overview window when this node is disclosed
|
java.lang.String |
getOverviewStyle()
Gets the style of the overview window when this node is not disclosed
|
java.lang.String |
getRendererType() |
java.lang.String |
getShortDesc()
Gets a short description of this node for user agents rendering to non-visual media
(e.g.
|
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 |
isShowDisclose()
Gets whether or not to render the disclose action.
|
boolean |
isShowDrill()
Gets whether or not to render the drill action.
|
boolean |
isShowIsolate()
Gets whether or not to render the isolate action.
|
boolean |
isShowNodeActions()
Gets whether or not to render any node actions.
|
boolean |
isShowStack()
Gets whether or not to render the stack actions.
|
void |
setContainerBehavior(java.lang.String containerBehavior)
Sets the container behavior for this node.
|
void |
setContainerId(java.lang.Object containerId)
Sets the parent container for this Node.
|
void |
setContainerStyle(java.lang.String containerStyle)
Sets the style of the container background when this node is disclosed
|
void |
setDragFlavor(java.lang.String dragFlavor)
Sets the drag flavor for the diagram node.
|
void |
setDraggable(java.lang.String draggable)
Sets whether this node is draggable
|
void |
setDropFlavors(java.lang.String[] dropFlavors)
Sets the array of drop flavors for the diagram node.
|
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 |
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 |
setOverviewContainerStyle(java.lang.String overviewContainerStyle)
Sets the style of the overview window when this node is disclosed
|
void |
setOverviewStyle(java.lang.String overviewStyle)
Sets the style of the overview window when this node is not disclosed
|
void |
setReadOnly(boolean readOnly) |
void |
setSelectable(boolean selectable)
Sets whether this node can be selected (true by default)
|
void |
setShortDesc(java.lang.String shortDesc)
Sets a short description of this node for user agents rendering to non-visual media
(e.g.
|
void |
setShowDisclose(boolean showDisclose)
Sets whether or not to render the disclose action.
|
void |
setShowDrill(boolean showDrill)
Sets whether or not to render the drill action.
|
void |
setShowIsolate(boolean showIsolate)
Sets whether or not to render the isolate action.
|
void |
setShowNodeActions(boolean showNodeActions)
Sets whether or not to render any node actions.
|
void |
setShowStack(boolean showStack)
Sets whether or not to render the stack actions.
|
void |
setWidth(int width)
Specifies the width of the node, in pixels, at full size
|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addClientBehavior, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientBehaviors, getClientId, getComponentChangeFilters, getContainerClientId, getDefaultEventName, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getPassThroughAttributes, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
addPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, 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
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey HEIGHT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FACET_NAME_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOW_DISCLOSE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOW_ISOLATE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOW_DRILL_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOW_STACK_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOW_NODE_ACTIONS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHORT_DESC_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NODE_ID_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SELECTABLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CONTAINER_ID_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CONTAINER_BEHAVIOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LAYOUT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LABEL_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey READ_ONLY_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DRAGGABLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CONTAINER_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey OVERVIEW_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey OVERVIEW_CONTAINER_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DRAG_FLAVOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DROP_FLAVORS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_LISTENERS_KEY
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class org.apache.myfaces.trinidad.component.UIXComponentBase
public java.lang.String getFamily()
getFamily
in class org.apache.myfaces.trinidad.component.UIXComponentBase
public java.lang.String getRendererType()
getRendererType
in class org.apache.myfaces.trinidad.component.UIXComponentBase
public void setWidth(int width)
public int getWidth()
public void setHeight(int height)
public int getHeight()
public void setFacetName(java.lang.String fn)
public java.lang.String getFacetName()
public final boolean isShowDisclose()
public final void setShowDisclose(boolean showDisclose)
showDisclose
- whether or not to render the disclose action.public final boolean isShowIsolate()
public final void setShowIsolate(boolean showIsolate)
showIsolate
- whether or not to render the isolate action.public final boolean isShowDrill()
public final void setShowDrill(boolean showDrill)
showDrill
- the new showDrill valuepublic final boolean isShowStack()
public final void setShowStack(boolean showStack)
showStack
- the new showStack valuepublic final boolean isShowNodeActions()
public final void setShowNodeActions(boolean showNodeActions)
showNodeActions
- the new showNodeActions valuepublic void setShortDesc(java.lang.String shortDesc)
shortDesc
- the new type valuepublic java.lang.String getShortDesc()
public void setNodeId(java.lang.Object nodeId)
nodeId
- the unique identifierpublic java.lang.Object getNodeId()
public final boolean isSelectable()
public final void setSelectable(boolean selectable)
selectable
- whether this node can be selectedpublic final boolean isReadOnly()
public final void setReadOnly(boolean readOnly)
public void setContainerId(java.lang.Object containerId)
containerId
- the unique identifier for the container nodepublic java.lang.Object getContainerId()
public void setContainerBehavior(java.lang.String containerBehavior)
auto
(default) This node will be treated as a container if any node in the collection references it via the containerId property.lazy
This node will be treated as a container even if no node in the collection references it via the containerId property.
The application can use a rowDisclosureListener to dynamically add nodes to the collection when this node is disclosed.containerBehavior
- the container behavior for this nodepublic java.lang.String getContainerBehavior()
auto
(default) This node will be treated as a container if any node in the collection references it via the containerId property.lazy
This node will be treated as a container even if no node in the collection references it via the containerId property.
The application can use a rowDisclosureListener to dynamically add nodes to the collection when this node is disclosed.public final void setLayout(java.lang.String layout)
layout
- the name of the layoutpublic final java.lang.String getLayout()
public final void setLabel(java.lang.String label)
label
- the label for this nodepublic final java.lang.String getLabel()
public void setDraggable(java.lang.String draggable)
draggable
- whether this node is draggablepublic java.lang.String getDraggable()
public void setContainerStyle(java.lang.String containerStyle)
containerStyle
- the style of the container background when this node is disclosedpublic java.lang.String getContainerStyle()
public void setOverviewStyle(java.lang.String overviewStyle)
overviewStyle
- the style in the overview window when this node is not disclosedpublic java.lang.String getOverviewStyle()
public void setOverviewContainerStyle(java.lang.String overviewContainerStyle)
overviewContainerStyle
- the style in the overview window when this node is disclosedpublic java.lang.String getOverviewContainerStyle()
public final java.lang.String[] getDropFlavors()
The fully qualified Java class name/discriminant
.
Use javax.faces.component.UIComponent
class name to define drop flavor for the diagram node or a diagram palette item.
Example: javax.faces.component.UIComponent/imageX
or javax.faces.component.UIComponent/childNode
public final void setDropFlavors(java.lang.String[] dropFlavors)
The fully qualified Java class name/discriminant
.
Use javax.faces.component.UIComponent
class name to define drop flavor for the diagram node or a diagram palette item.
Example: javax.faces.component.UIComponent/imageX
or javax.faces.component.UIComponent/childNode
dropFlavors
- array of drop flavors for the diagram nodepublic final java.lang.String getDragFlavor()
childNodeA
drag flavor,
the drop flavor on the diagram or diagram node should be defined as javax.faces.component.UIComponent/childNodeA
public final void setDragFlavor(java.lang.String dragFlavor)
childNodeA
drag flavor,
the drop flavor on the diagram or diagram node should be defined as javax.faces.component.UIComponent/childNodeA
dragFlavor
- drag flavor for the diagram node