|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo2.Controller<LoginPane>
com.sptci.echo2.LoginPaneController
public abstract class LoginPaneController
An abstract controller for the LoginPane view component.
Sub-classes must implement the appropriate action to be performed
when the login form is submitted.
Copyright 2006 Sans Pareil Technologies, Inc.
| Nested Class Summary | |
|---|---|
class |
LoginPaneController.UserNameListener
An action listener that transfers control from the LoginPane.userName field to the LoginPane.password field. |
| Nested classes/interfaces inherited from class com.sptci.echo2.Controller |
|---|
Controller.LinkedCellRenderer, Controller.Updater<S>, Controller.Worker<S> |
| Field Summary |
|---|
| Fields inherited from class com.sptci.echo2.Controller |
|---|
application, logger, view |
| Constructor Summary | |
|---|---|
LoginPaneController()
Create a new instance controlling a new instance of LoginPane
stored in the Controller.view field. |
|
| Method Summary | |
|---|---|
boolean |
checkPassword()
Check the LoginPane.password field to ensure that a value has
been input into the field. |
boolean |
checkUserName()
Check the LoginPane.userName field to ensure that a value has
been input into the field. |
boolean |
checkView()
Check the Controller.view components to ensure that appropriate values
have been entered. |
abstract ActionListener |
getListener(String component)
Return the ActionListener for the component identified
by the name specified. |
| Methods inherited from class com.sptci.echo2.Controller |
|---|
checkText, getApplication, getLogger, getView, processFatalException, setApplication |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoginPaneController()
LoginPane
stored in the Controller.view field.
| Method Detail |
|---|
public boolean checkView()
Controller.view components to ensure that appropriate values
have been entered. The default implementation ensures that non-empty
values have been entered into the LoginPane.userName and
LoginPane.password fields.
true if the tests succeed.checkUserName(),
checkPassword()public boolean checkUserName()
LoginPane.userName field to ensure that a value has
been input into the field.
true if the value of the field is
not null or empty.Controller.checkText(java.lang.String)public boolean checkPassword()
LoginPane.password field to ensure that a value has
been input into the field.
true if the value of the field is
not null or empty.Controller.checkText(java.lang.String)public abstract ActionListener getListener(String component)
ActionListener for the component identified
by the name specified.
component - The component for which the action listener is
to be returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||