Package org.primefaces.component.diagram
Class Diagram
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIOutput
-
- org.primefaces.component.diagram.DiagramBase
-
- org.primefaces.component.diagram.Diagram
-
- All Implemented Interfaces:
EventListener,javax.faces.component.behavior.ClientBehaviorHolder,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.component.ValueHolder,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder,PrimeClientBehaviorHolder,Widget
public class Diagram extends DiagramBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.primefaces.component.diagram.DiagramBase
DiagramBase.PropertyKeys
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_TYPEstatic StringCONTAINER_CLASSstatic StringDRAGGABLE_ELEMENT_CLASSstatic StringELEMENT_CLASS-
Fields inherited from class org.primefaces.component.diagram.DiagramBase
COMPONENT_FAMILY, DEFAULT_RENDERER
-
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
-
Fields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
-
Constructor Summary
Constructors Constructor Description Diagram()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Class<? extends javax.faces.event.BehaviorEvent>>getBehaviorEventMapping()Collection<String>getEventNames()booleanisConnectionChangeRequest(javax.faces.context.FacesContext context)booleanisConnectRequest(javax.faces.context.FacesContext context)booleanisDisconnectRequest(javax.faces.context.FacesContext context)booleanisPositionChangeRequest(javax.faces.context.FacesContext context)voidqueueEvent(javax.faces.event.FacesEvent event)-
Methods inherited from class org.primefaces.component.diagram.DiagramBase
getFamily, getStyle, getStyleClass, getVar, getWidgetVar, setStyle, setStyleClass, setVar, setWidgetVar
-
Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValue
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName
-
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
CONTAINER_CLASS
public static final String CONTAINER_CLASS
- See Also:
- Constant Field Values
-
ELEMENT_CLASS
public static final String ELEMENT_CLASS
- See Also:
- Constant Field Values
-
DRAGGABLE_ELEMENT_CLASS
public static final String DRAGGABLE_ELEMENT_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBehaviorEventMapping
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
-
getEventNames
public Collection<String> getEventNames()
- Specified by:
getEventNamesin interfacejavax.faces.component.behavior.ClientBehaviorHolder- Overrides:
getEventNamesin classjavax.faces.component.UIComponentBase
-
isConnectRequest
public boolean isConnectRequest(javax.faces.context.FacesContext context)
-
isDisconnectRequest
public boolean isDisconnectRequest(javax.faces.context.FacesContext context)
-
isConnectionChangeRequest
public boolean isConnectionChangeRequest(javax.faces.context.FacesContext context)
-
isPositionChangeRequest
public boolean isPositionChangeRequest(javax.faces.context.FacesContext context)
-
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEventin classjavax.faces.component.UIComponentBase
-
-