|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.Component
org.apache.pivot.wtk.Container
org.apache.pivot.tools.wtk.EventLogger
public class EventLogger
A component that monitors a source component for events.
Nested Class Summary | |
---|---|
class |
EventLogger.DeclaredEventGroup
A read-only group of events that an event logger is capable of firing. |
class |
EventLogger.IncludeEventGroup
A read/write group of events that an event logger will actually fire. |
static interface |
EventLogger.Skin
Event logger skin interface. |
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Component |
---|
Component.DecoratorSequence, Component.StyleDictionary, Component.UserDataDictionary |
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence |
---|
Sequence.Tree<T> |
Constructor Summary | |
---|---|
EventLogger()
Creates a new event logger that is not tied to any source component. |
|
EventLogger(Component source)
Creates a new event logger that will log events on the specified source. |
Method Summary | |
---|---|
void |
clearLog()
Clears the event log. |
EventLogger.DeclaredEventGroup |
getDeclaredEvents()
Gets the declared event group, a read-only group that includes the complete list of events that this event logger's source declares. |
ListenerList<EventLoggerListener> |
getEventLoggerListeners()
Gets the event logger listener list. |
EventLogger.IncludeEventGroup |
getIncludeEvents()
Gets the include events group, which callers can use to include or exclude declared events from those that get fired by this logger. |
Component |
getSource()
Gets this event logger's source component. |
void |
setSource(Component source)
Sets this event logger's source component. |
Methods inherited from class org.apache.pivot.wtk.Container |
---|
add, clear, containsFocus, descendantAdded, descendantGainedFocus, descendantLostFocus, descendantRemoved, get, getComponentAt, getContainerListeners, getContainerMouseListeners, getDescendantAt, getFocusTraversalPolicy, getLength, indexOf, insert, isAncestor, iterator, layout, load, mouseClick, mouseDown, mouseMove, mouseOut, mouseUp, mouseWheel, move, paint, remove, remove, removeAll, requestFocus, setFocusTraversalPolicy, setParent, setVisible, store, transferFocus, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EventLogger()
public EventLogger(Component source)
Method Detail |
---|
public Component getSource()
public void setSource(Component source)
source
- The source component, or null to clear the source.public EventLogger.DeclaredEventGroup getDeclaredEvents()
public EventLogger.IncludeEventGroup getIncludeEvents()
public void clearLog()
public ListenerList<EventLoggerListener> getEventLoggerListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |