public abstract class BaseControlEvent extends BaseEvent implements ControlEvent
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CONTROL_EVENT_PRIORITY
Default control event priority.
|
clonePolicy, DEFAULT_PRIORITY, id, name, time| Modifier | Constructor and Description |
|---|---|
protected |
BaseControlEvent(String name) |
protected |
BaseControlEvent(String name,
EventClonePolicy clonePolicy) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Returns event priority.
|
BaseControlEvent |
setPriority(int priority)
Sets event priority.
|
clone, doGet, equalsByAttributes, equalsById, get, get, getDefaultAttributeValue, getId, getName, getOrDefault, getTime, setId, setTime, toString, toStringBase, valudateAttributeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, equalsByAttributes, equalsById, get, get, getAll, getId, getName, getOrDefault, getTime, has, set, setId, setTimepublic static final int DEFAULT_CONTROL_EVENT_PRIORITY
10.protected BaseControlEvent(String name, EventClonePolicy clonePolicy)
protected BaseControlEvent(String name)
public int getPriority()
getPriority in interface HasPriority<Event>getPriority in class BaseEventpublic BaseControlEvent setPriority(int priority)
setPriority in interface ControlEventpriority - event priority.Copyright © 2016–2018 Softelnet. All rights reserved.