public class HTMLEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
call
the call
|
protected java.lang.String |
name
the name of the event
|
protected int |
priority
The priority of this event ( the order in which they are called)
|
Constructor and Description |
---|
HTMLEvent(java.lang.String name,
java.lang.String call)
Create a new HTML Event
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCall()
The call.
|
java.lang.String |
getName(ClientBrowser browser)
The name of this event.
|
int |
getPriority()
The priority of this event ( the order in which they are called)
|
void |
setPriority(int priority)
The priority of this event ( the order in which they are called)
|
static boolean |
validCall(java.lang.String call) |
protected int priority
protected java.lang.String name
protected java.lang.String call
public HTMLEvent(@Nonnull java.lang.String name, @Nonnull java.lang.String call)
name
- the name of the eventcall
- the script to callpublic static boolean validCall(@Nonnull java.lang.String call)
@Nonnull @CheckReturnValue public java.lang.String getName(@Nonnull ClientBrowser browser)
browser
- The browser for which we are generating the event@Nonnull @CheckReturnValue public java.lang.String getCall()
@CheckReturnValue public int getPriority()
public void setPriority(@Nonnegative int priority)
priority
- normally 1-100 default to 50stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.