abstract class SuspendedModeller extends Object implements ChangeHandler, PropertyChangeHandler
Constructor and Description |
---|
SuspendedModeller(VoteTrackV trackV,
Spool _spool)
Creates a SuspendedModeller.
|
Modifier and Type | Method and Description |
---|---|
void |
onChange(Change _e)
Handles the event.
|
void |
onPropertyChange(PropertyChange e)
Handles the event.
|
(package private) abstract void |
remodel()
Reshapes the view according to the current model state.
|
(package private) void |
remodelUnlessMoving()
Calls
remodel() unless the parent view is moving, in which case it does nothing. |
(package private) VoteTrackV |
trackV()
The parent view.
|
SuspendedModeller(VoteTrackV trackV, Spool _spool)
_spool
- the spool for the release of associated holds. When unwound it
releases the holds of the modeller and thereby disables it.abstract void remodel()
final void remodelUnlessMoving()
remodel()
unless the parent view is moving, in which case it does nothing.final VoteTrackV trackV()
public final void onChange(Change _e)
ChangeHandler
onChange
in interface ChangeHandler
public final void onPropertyChange(PropertyChange e)
PropertyChangeHandler
onPropertyChange
in interface PropertyChangeHandler