|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.mvc.View
public abstract class View
Views
are responsible for rendering the user interface.
Field Summary | |
---|---|
protected Controller |
controller
|
protected boolean |
initialized
|
Constructor Summary | |
---|---|
View(Controller controller)
Creates a new view instance. |
Method Summary | |
---|---|
protected void |
fireEvent(AppEvent event)
Called when a view needs to pass an event to it's controller. |
protected void |
fireEvent(EventType eventType)
Called when a view needs to pass an event to it's controller. |
Controller |
getController()
Returns the view's controller. |
protected abstract void |
handleEvent(AppEvent event)
Process the event. |
protected void |
initialize()
Called once prior to handleEvent being called. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Controller controller
protected boolean initialized
Constructor Detail |
---|
public View(Controller controller)
controller
- the parent controllerMethod Detail |
---|
public Controller getController()
protected void fireEvent(AppEvent event)
event
- the application eventprotected void fireEvent(EventType eventType)
eventType
- the event typeprotected abstract void handleEvent(AppEvent event)
event
- the event to be processedprotected void initialize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |