|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.ClientHandlerImp
Verwaltungsklasse für Client Handler
Field Summary | |
private java.util.Hashtable |
handlerList
Collection with JavaScript event handlers |
private static long |
serialVersionUID
Serial Version UID |
Constructor Summary | |
ClientHandlerImp()
Constructor |
|
ClientHandlerImp(ClientHandler other)
Copy Constructor |
Method Summary | |
static ClientHandler |
evaluate(javax.servlet.jsp.PageContext ctx,
ClientHandler source,
java.lang.Object databean)
Uses the Expression Language to create Client Script handlers for a certain column and row bean |
java.lang.String |
getHandler(ClientEvent event)
Returns the script handler which was associated for a client event |
ClientEvent[] |
getHandlers()
Returns the list of events for which client handler have been registered. |
void |
setHandler(ClientEvent event,
java.lang.String handler)
Registers a client handler for an client event |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private java.util.Hashtable handlerList
Constructor Detail |
public ClientHandlerImp()
public ClientHandlerImp(ClientHandler other)
other
- The Handler to copy fromMethod Detail |
public java.lang.String getHandler(ClientEvent event)
ClientHandler
getHandler
in interface ClientHandler
event
- The event (like onClick, onMouseOver, ...)
null
if no handler
was associated.ClientHandler.getHandler(ClientEvent)
public void setHandler(ClientEvent event, java.lang.String handler)
ClientHandler
setHandler
in interface ClientHandler
event
- The client event (like onClick, onMouseOver, ...)handler
- The script handler associated with the eventClientHandler.setHandler(ClientEvent, String)
public ClientEvent[] getHandlers()
ClientHandler
getHandlers
in interface ClientHandler
ClientHandler.getHandlers()
public static ClientHandler evaluate(javax.servlet.jsp.PageContext ctx, ClientHandler source, java.lang.Object databean)
ctx
- JSP Page contextsource
- the client handlers to processdatabean
- the bean which can be accessed
in expressions
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |