Modifier and Type | Field and Description |
---|---|
protected java.awt.event.ActionEvent |
actionEvent |
private java.util.Collection |
contextObjects |
protected WandoraTool |
contextOwner |
private java.lang.Object |
contextSource |
protected Wandora |
wandora |
Constructor and Description |
---|
PreContext(Locator locator)
Creates a new instance of PreContext
|
PreContext(Locator[] locators) |
PreContext(Topic locator) |
PreContext(Topic[] locators) |
Modifier and Type | Method and Description |
---|---|
java.awt.event.ActionEvent |
getContextEvent() |
java.util.Iterator |
getContextObjects()
Returns Iterator for accessible object in context ie.
|
java.lang.Object |
getContextSource()
Returns the origin of context.
|
void |
initialize(Wandora wandora,
java.awt.event.ActionEvent actionEvent,
WandoraTool contextOwner)
Initializes context with
- Wandora: The Application.
|
void |
setContextSource(java.lang.Object contextSource)
Sets the origin of context.
|
private java.lang.Object contextSource
protected WandoraTool contextOwner
protected java.awt.event.ActionEvent actionEvent
protected Wandora wandora
private java.util.Collection contextObjects
public PreContext(Locator locator)
public PreContext(Locator[] locators)
public PreContext(Topic locator)
public PreContext(Topic[] locators)
public void initialize(Wandora wandora, java.awt.event.ActionEvent actionEvent, WandoraTool contextOwner)
Context
initialize
in interface Context
public java.util.Iterator getContextObjects()
getContextObjects
in interface Context
public void setContextSource(java.lang.Object contextSource)
setContextSource
in interface Context
public java.lang.Object getContextSource()
PreContext has no context
source as the context is set during construction.
getContextSource
in interface Context
public java.awt.event.ActionEvent getContextEvent()
getContextEvent
in interface Context
Copyright 2004-2015 Wandora Team