org.primefaces.component.socket
Class Socket

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.primefaces.component.socket.Socket
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Widget

public class Socket
extends javax.faces.component.UIComponentBase
implements Widget, javax.faces.component.behavior.ClientBehaviorHolder


Nested Class Summary
protected static class Socket.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
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
 
Constructor Summary
Socket()
           
 
Method Summary
 String getChannel()
           
 String getDefaultEventName()
           
 Collection<String> getEventNames()
           
protected  javax.faces.context.FacesContext getFacesContext()
           
 String getFallbackTransport()
           
 String getFamily()
           
 String getOnError()
           
 String getOnMessage()
           
 String getTransport()
           
 String getWidgetVar()
           
 void handleAttribute(String name, Object value)
           
 boolean isAutoConnect()
           
 String resolveWidgetVar()
           
 void setAutoConnect(boolean _autoConnect)
           
 void setChannel(String _channel)
           
 void setFallbackTransport(String _fallbackTransport)
           
 void setOnError(String _onError)
           
 void setOnMessage(String _onMessage)
           
 void setTransport(String _transport)
           
 void setWidgetVar(String _widgetVar)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, 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
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

Socket

public Socket()
Method Detail

getFamily

public String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getWidgetVar

public String getWidgetVar()

setWidgetVar

public void setWidgetVar(String _widgetVar)

getChannel

public String getChannel()

setChannel

public void setChannel(String _channel)

getTransport

public String getTransport()

setTransport

public void setTransport(String _transport)

getFallbackTransport

public String getFallbackTransport()

setFallbackTransport

public void setFallbackTransport(String _fallbackTransport)

getOnMessage

public String getOnMessage()

setOnMessage

public void setOnMessage(String _onMessage)

getOnError

public String getOnError()

setOnError

public void setOnError(String _onError)

isAutoConnect

public boolean isAutoConnect()

setAutoConnect

public void setAutoConnect(boolean _autoConnect)

getEventNames

public Collection<String> getEventNames()
Specified by:
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getEventNames in class javax.faces.component.UIComponentBase

getDefaultEventName

public String getDefaultEventName()
Specified by:
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getDefaultEventName in class javax.faces.component.UIComponentBase

getFacesContext

protected javax.faces.context.FacesContext getFacesContext()
Overrides:
getFacesContext in class javax.faces.component.UIComponentBase

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget

handleAttribute

public void handleAttribute(String name,
                            Object value)


Copyright © 2012. All Rights Reserved.