|
|||||||||
Home >> All >> openfuture >> bugbase >> app >> [ controller overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
openfuture.bugbase.app.controller
Class AbsController

java.lang.Objectopenfuture.bugbase.app.controller.AbsController
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.awt.event.FocusListener, java.awt.event.ItemListener, javax.swing.event.ListSelectionListener, javax.swing.event.TableModelListener
- Direct Known Subclasses:
- BugReportController, DatabaseAdminController, DoubleListController, GeneralAdminController, ListController, ProjectAdminController
- public abstract class AbsController
- extends java.lang.Object
- implements java.awt.event.ItemListener, java.awt.event.ActionListener, java.awt.event.FocusListener, javax.swing.event.ListSelectionListener, javax.swing.event.TableModelListener
- extends java.lang.Object
Field Summary | |
private openfuture.bugbase.domain.BugReport |
bugReport
|
private boolean |
ignoreEvents
|
private java.lang.String |
project
|
private openfuture.bugbase.servlet.BugBaseServletClient |
servletClient
|
private openfuture.bugbase.app.view.AbsPanel |
view
|
Constructor Summary | |
AbsController()
|
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
This method is invoked when an action occurs. |
void |
focusGained(java.awt.event.FocusEvent e)
This method is called when a component gains the keyboard focus. |
void |
focusLost(java.awt.event.FocusEvent e)
This method is invoked when a component loses the keyboard focus. |
openfuture.bugbase.domain.BugReport |
getBugReport()
Get the value of bugReport. |
boolean |
getIgnoreEvents()
Get the value of ignoreEvents. |
java.lang.String |
getProject()
Get the value of project. |
openfuture.bugbase.servlet.BugBaseServletClient |
getServletClient()
Get the value of servletClient. |
openfuture.bugbase.app.view.AbsPanel |
getView()
Get the value of view. |
(package private) abstract void |
handleEvents(java.awt.AWTEvent event,
java.lang.Object source,
java.lang.String name)
|
void |
init()
|
void |
itemStateChanged(java.awt.event.ItemEvent e)
This method is called when an item's state is changed. |
void |
setBugReport(openfuture.bugbase.domain.BugReport v)
Set the value of bugReport. |
void |
setIgnoreEvents(boolean v)
Set the value of ignoreEvents. |
void |
setProject(java.lang.String v)
Set the value of project. |
void |
setServletClient(openfuture.bugbase.servlet.BugBaseServletClient v)
Set the value of servletClient. |
void |
setView(openfuture.bugbase.app.view.AbsPanel v)
Set the value of view. |
void |
showError(java.awt.Component parentComponent,
java.lang.Exception e)
Shows up an error dialog with the message of the exception. |
void |
showError(java.lang.Exception e)
Shows up an error dialog with the message of the exception using getView() 55 as parent component. |
java.util.Date |
stringToDate(java.lang.String s)
|
void |
tableChanged(javax.swing.event.TableModelEvent e)
Override this method in subclasses. |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
Receives notification of a javax.swing.event.ListSelectionEvent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
bugReport
private openfuture.bugbase.domain.BugReport bugReport
view
private openfuture.bugbase.app.view.AbsPanel view
project
private java.lang.String project
servletClient
private openfuture.bugbase.servlet.BugBaseServletClient servletClient
ignoreEvents
private boolean ignoreEvents
Constructor Detail |
AbsController
public AbsController()
Method Detail |
init
public void init()
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Description copied from interface:
java.awt.event.FocusListener
- This method is called when a component gains the keyboard focus.
- Specified by:
focusGained
in interfacejava.awt.event.FocusListener
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Description copied from interface:
java.awt.event.FocusListener
- This method is invoked when a component loses the keyboard focus.
- Specified by:
focusLost
in interfacejava.awt.event.FocusListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Description copied from interface:
java.awt.event.ActionListener
- This method is invoked when an action occurs.
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
valueChanged
public void valueChanged(javax.swing.event.ListSelectionEvent e)
- Description copied from interface:
javax.swing.event.ListSelectionListener
- Receives notification of a javax.swing.event.ListSelectionEvent.
- Specified by:
valueChanged
in interfacejavax.swing.event.ListSelectionListener
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent e)
- Description copied from interface:
java.awt.event.ItemListener
- This method is called when an item's state is changed.
- Specified by:
itemStateChanged
in interfacejava.awt.event.ItemListener
tableChanged
public void tableChanged(javax.swing.event.TableModelEvent e)
- Override this method in subclasses.
- Specified by:
tableChanged
in interfacejavax.swing.event.TableModelListener
stringToDate
public java.util.Date stringToDate(java.lang.String s) throws java.text.ParseException
getBugReport
public openfuture.bugbase.domain.BugReport getBugReport()
- Get the value of bugReport.
setBugReport
public void setBugReport(openfuture.bugbase.domain.BugReport v)
- Set the value of bugReport.
getView
public openfuture.bugbase.app.view.AbsPanel getView()
- Get the value of view.
setView
public void setView(openfuture.bugbase.app.view.AbsPanel v)
- Set the value of view.
getProject
public java.lang.String getProject()
- Get the value of project.
setProject
public void setProject(java.lang.String v)
- Set the value of project.
getServletClient
public openfuture.bugbase.servlet.BugBaseServletClient getServletClient()
- Get the value of servletClient.
setServletClient
public void setServletClient(openfuture.bugbase.servlet.BugBaseServletClient v)
- Set the value of servletClient.
getIgnoreEvents
public boolean getIgnoreEvents()
- Get the value of ignoreEvents.
setIgnoreEvents
public void setIgnoreEvents(boolean v)
- Set the value of ignoreEvents.
handleEvents
abstract void handleEvents(java.awt.AWTEvent event, java.lang.Object source, java.lang.String name)
showError
public void showError(java.lang.Exception e)
- Shows up an error dialog with the message of the exception using
getView()
55 as parent component.
showError
public void showError(java.awt.Component parentComponent, java.lang.Exception e)
- Shows up an error dialog with the message of the exception.
|
|||||||||
Home >> All >> openfuture >> bugbase >> app >> [ controller overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |