org.tm4j.tmnav.app.ui .RendererView

Description

A RendererView combines an Abstractor that builds a model and a Renderer that presents it.


The RendererView listens to EV_TMO_SELECTED and to EV_TM_STATE_CHANGED Events and takes the appropriate actions upon receiving theese events.
In particular it asks its Abstractor to render a new model and passes the rendered model to the Renderer


The RendererView may maintain a History of rendered models.
Every instance of this class generates on construction time a unique id, which may be used to identify this renderer unambigously.

Inheritance Hierarchy

Field Summary
currentMember The AMMember which is in the center of the currrently displayed model
history
navCtx The Context-Object
Method Summary
void doAbstractionProcess(org.tm4j.panckoucke.model.AMMember member,boolean insertInHistory,java.lang.Object target)
Calls the current abstractor to generate a model for the given member.
org.tm4j.tmnav.env.AbstractionEnviroment getAbstractionEnviroment()
returns the AbstractionEnviroment-instance that is used by this RendererView.
RendererView getDefaultRendererView()
Returns the RendererView where the demand to display a model shall be directed to.
java.lang.String getDefaultRendererViewID()
Returns the id of the RendererView that is intended to be the default target for displaying nodes that are selected in this RendererView.
org.tm4j.tmnav.app.History getHistory()
java.lang.String getID()
org.tm4j.tmnav.env.desc.RendererViewDesc getRendererViewDesc()
RendererViewUI getUi()
void isPartOfMainRendererSpace()
void isProcessBroadcastEvents()
void reAbstract()
The Abstractor changed.
void reRender()
The Renderer changed.
The current model shall be rerendered
void setDefaultRendererViewID(java.lang.String id)
Sets the Id of the RendererView that shall be used as the default target of all abstraction demands that originates in this RendererView.
void setName(java.lang.String name)
Sets the name of this view
void setPartOfMainRendererSpace(boolean isPartOfMainRendererSpace)
void setProcessBroadcastEvents(boolean processBroadcastEvents)
void tmnavEventFired(org.tm4j.tmnav.app.event.Event e)

Related Topics