|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdasher.CDasherComponent
dasher.CStartHandler
public abstract class CStartHandler
A start handler is a helper to an input filter which serves the purpose of starting and stopping Dasher.
At present they are only supported by CDefaultFilter.
Its Timer event will be called during its parent filter's Timer event; similarly it will be given a chance to draw itself in the DecorateView phase within its parent's DecorateView call.
| Field Summary | |
|---|---|
protected CDasherInterfaceBase |
m_Interface
Interface which this Start Handler should control |
| Fields inherited from class dasher.CDasherComponent |
|---|
m_EventHandler, m_SettingsStore |
| Constructor Summary | |
|---|---|
CStartHandler(CEventHandler EventHandler,
CSettingsStore SettingsStore,
CDasherInterfaceBase Interface)
Creates a new start handler which controls a given Interface |
|
| Method Summary | |
|---|---|
abstract boolean |
DecorateView(CDasherView View)
Similar to its companion method in CInputFilter, this gives the start handler an opportunity to draw itself and other relevant decorations during the production of a new frame. |
abstract void |
HandleEvent(CEvent Event)
Event handler |
abstract void |
Timer(long iTime,
CDasherView m_DasherView,
CDasherModel m_DasherModel)
Fired during the start handler's parent input filter's Timer event. |
| Methods inherited from class dasher.CDasherComponent |
|---|
GetBoolParameter, GetLongParameter, GetParameterName, GetParameterType, GetStringParameter, InsertEvent, SetBoolParameter, SetLongParameter, SetStringParameter, UnregisterComponent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CDasherInterfaceBase m_Interface
| Constructor Detail |
|---|
public CStartHandler(CEventHandler EventHandler,
CSettingsStore SettingsStore,
CDasherInterfaceBase Interface)
EventHandler - Event handler with which to register ourselvesSettingsStore - Settings repository to useInterface - Interface this Start Handler should control| Method Detail |
|---|
public abstract boolean DecorateView(CDasherView View)
Start handlers should ensure that this method can reliably terminate quickly, or performance will be greatly degraded.
View - View to which we should draw decorations
public abstract void Timer(long iTime,
CDasherView m_DasherView,
CDasherModel m_DasherModel)
iTime - Current system time as a unix timestampm_DasherView - View which we may use for co-ordinate transforms and to get input co-ordinatesm_DasherModel - Model which may be modified if we wishpublic abstract void HandleEvent(CEvent Event)
HandleEvent in class CDasherComponentEvent - Event received.CEventHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||