| net.sf.jmoney.fields.AccountControl
AccountControl | public class AccountControl extends AccountComposite (Code) | | A control for entering accounts.
This control contains both a text box and a list box that appears when the
text box gains focus.
author: Nigel Westbury |
textControl | Text textControl(Code) | | |
AccountControl | public AccountControl(Composite parent, Session session, Class<A> accountClass)(Code) | | Parameters: parent - Parameters: style - |
addSelectionListener | public void addSelectionListener(SelectionListener listener)(Code) | | Parameters: listener - |
getAccount | public A getAccount()(Code) | | the account, or null if no account has been set inthe control |
getControl | public Control getControl()(Code) | | |
init | public void init(IMemento memento)(Code) | | |
rememberChoice | public void rememberChoice()(Code) | | |
removeSelectionListener | public void removeSelectionListener(SelectionListener listener)(Code) | | Parameters: listener - |
saveState | public void saveState(IMemento memento)(Code) | | |
setAccount | public void setAccount(A account)(Code) | | Parameters: object - |
setSession | public void setSession(Session session, Class<A> accountClass)(Code) | | Normally the session is set through the constructor. However in some
circumstances (i.e. in the custom cell editors) the session is not
available at construction time and null will be set. This method must
then be called to set the session before the control is used (i.e. before
the control gets focus).
|
|
|