public class StyleGroupSet.EventSet
extends java.lang.Object
The event set contains the set of events actually occurring. This is used to select alternate styles. The events actually occurring are in precedence order. The last one is the most important.
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
events |
java.util.ArrayList<java.lang.String> |
eventSet |
Constructor and Description |
---|
EventSet() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getEvents()
The set of events in order, the most important at the end.
|
void |
popEvent(java.lang.String event)
Remove an event from the set.
|
void |
pushEvent(java.lang.String event)
Add an event to the set.
|
public java.util.ArrayList<java.lang.String> eventSet
public java.lang.String[] events
public void pushEvent(java.lang.String event)
event
- The event to add.public void popEvent(java.lang.String event)
event
- The event to remove.public java.lang.String[] getEvents()