IT. Expert System.

Java Enterprise Edition (EE)

ClientBehaviorHolder


javax.faces.component.behavior
Interface ClientBehaviorHolder

All Known Implementing Classes:
HtmlBody, HtmlCommandButton, HtmlCommandLink, HtmlDataTable, HtmlForm, HtmlGraphicImage, HtmlInputSecret, HtmlInputText, HtmlInputTextarea, HtmlOutcomeTargetButton, HtmlOutcomeTargetLink, HtmlOutputLabel, HtmlOutputLink, HtmlPanelGrid, HtmlSelectBooleanCheckbox, HtmlSelectManyCheckbox, HtmlSelectManyListbox, HtmlSelectManyMenu, HtmlSelectOneListbox, HtmlSelectOneMenu, HtmlSelectOneRadio
public interface ClientBehaviorHolder

The ClientBehaviorHolder interface may be implemented by any concrete UIComponent that wishes to support client behaviors as defined by ClientBehavior.

Since:
2.0

Method Summary
 void addClientBehavior(java.lang.String eventName, ClientBehavior behavior)
          

Attaches a ClientBehavior to the component implementing this interface for the specified event.

 java.util.Map<java.lang.String,java.util.List<ClientBehavior>> getClientBehaviors()
          

Returns a non-null, unmodifiable Map that contains the the ClientBehaviors that have been attached to the component implementing this interface.

 java.lang.String getDefaultEventName()
          

Returns the default event name for this ClientBehaviorHolder implementation.

 java.util.Collection<java.lang.String> getEventNames()
          

Returns a non-null, unmodifiable Collection containing the names of the logical events supported by the component implementing this interface.

 

Method Detail

addClientBehavior

void addClientBehavior(java.lang.String eventName,
                       ClientBehavior behavior)

Attaches a ClientBehavior to the component implementing this interface for the specified event. Valid event names for a UIComponent implementation are defined by ClientBehaviorHolder.getEventNames().

Parameters:
eventName - the logical name of the client-side event to attach the behavior to.
behavior - the ClientBehavior instance to attach for the specified event name.
Since:
2.0

getEventNames

java.util.Collection<java.lang.String> getEventNames()

Returns a non-null, unmodifiable Collection containing the names of the logical events supported by the component implementing this interface.

Since:
2.0

getClientBehaviors

java.util.Map<java.lang.String,java.util.List<ClientBehavior>> getClientBehaviors()

Returns a non-null, unmodifiable Map that contains the the ClientBehaviors that have been attached to the component implementing this interface. The keys in this Map are event names defined by getEventNames().

Since:
2.0

getDefaultEventName

java.lang.String getDefaultEventName()

Returns the default event name for this ClientBehaviorHolder implementation. This must be one of the event names returned by getEventNames() or null if the component does not have a default event.

Since:
2.0


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1528 / . Delta: 0.03291 с