| java.lang.Object net.sf.jmoney.stocks.RatesEditor
RatesEditor | public class RatesEditor implements IPropertyControl(Code) | | Editor class for a table of progressive rates. For example,
the commission rates or the stamp duty chargable on stock
purchase and sales. (Actually, commission rates are regressive,
and go down in percentage terms as the amount goes up. This
editor allows rates to be entered that go up or down as the
amount goes up.
author: Nigel Westbury |
Method Summary | |
public Control | getControl() | public void | load(ExtendableObject object) Load the control with the value from the given account. | public void | save() Save the value from the control back into the account object.
Editors may update the property on a regular basis, not just when
the framework calls the save method. |
getControl | public Control getControl()(Code) | | The underlying SWT widget. |
save | public void save()(Code) | | Save the value from the control back into the account object.
Editors may update the property on a regular basis, not just when
the framework calls the save method. However, the only time
that editors must update the property is when the framework calls this method.
The framework should never call this method when no account is selected
so we can assume that account is not null.
|
|
|