| |
|
| java.lang.Object org.wings.SPagingBoundedRangeModel
changeEvent | protected transient ChangeEvent changeEvent(Code) | | Only one ChangeEvent is needed per model instance since the
event's only (read-only) state is the source property. The source
of events generated here is always "this".
|
extent | protected int extent(Code) | | |
gotDelayedEvent | protected boolean gotDelayedEvent(Code) | | got a delayed Event?
|
isAdjusting | protected boolean isAdjusting(Code) | | |
value | protected int value(Code) | | |
SPagingBoundedRangeModel | public SPagingBoundedRangeModel()(Code) | | |
SPagingBoundedRangeModel | public SPagingBoundedRangeModel(int value, int extent, int min, int max)(Code) | | |
fireDelayedFinalEvents | public void fireDelayedFinalEvents()(Code) | | |
fireDelayedIntermediateEvents | public void fireDelayedIntermediateEvents()(Code) | | fire event with isValueIsAdjusting true
|
getDelayEvents | public boolean getDelayEvents()(Code) | | |
getListeners | public EventListener[] getListeners(Class listenerType)(Code) | | Returns an array of all the objects currently registered as
FooListener s
upon this model.
FooListener s
are registered using the addFooListener method.
You can specify the listenerType argument
with a class literal, such as FooListener.class .
For example, you can query a DefaultBoundedRangeModel
instance m
for its change listeners
with the following code:
ChangeListener[] cls = (ChangeListener[])(m.getListeners(ChangeListener.class));
If no such listeners exist,
this method returns an empty array.
Parameters: listenerType - the type of listeners requested;this parameter should specify an interfacethat descends from java.util.EventListener an array of all objects registered asFooListener son this model,or an empty array if no suchlisteners have been added throws: ClassCastException - if listenerType doesn'tspecify a class or interface that implementsjava.util.EventListener See Also: SPagingBoundedRangeModel.getChangeListeners since: 1.3 |
setDelayEvents | public void setDelayEvents(boolean b)(Code) | | |
setExtent | public void setExtent(int n)(Code) | | Sets the extent to n after ensuring that n
is greater than or equal to zero and falls within the model's
constraints:
minimum <= value <= maximum
See Also: javax.swing.BoundedRangeModel.setExtent |
setMaximum | public void setMaximum(int n)(Code) | | Sets the maximum to n after ensuring that n
that the other three properties obey the model's constraints:
minimum <= value <= maximum
See Also: javax.swing.BoundedRangeModel.setMaximum |
setValue | public void setValue(int n)(Code) | | Sets the current value of the model. For a slider, that
determines where the knob appears. Ensures that the new
value, n falls within the model's constraints:
minimum <= value <= maximum
See Also: javax.swing.BoundedRangeModel.setValue |
toString | public String toString()(Code) | | Returns a string that displays all of the
BoundedRangeModel properties.
|
|
|
|