|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface of listeners to RulerModel changes
Method Summary | |
void |
beforeItemsMoved(RulerModelEvent e)
Calls to send a pre-notification that ruler items will be moved. |
void |
rulerDataChanged(RulerModelEvent e)
Called whenever some data in the ruler model changes. |
void |
rulerModelChanged(RulerModelEvent e)
Called whenever the ruler model changes. |
void |
rulerStructureChanged(RulerModelEvent e)
Called whenever the ruler model structure undergoes a local change. |
Method Detail |
public void rulerModelChanged(RulerModelEvent e)
e
- the event that characterizes the change.public void rulerStructureChanged(RulerModelEvent e)
e
- the event that characterizes the change.public void rulerDataChanged(RulerModelEvent e)
e
- the event that characterizes the change.public void beforeItemsMoved(RulerModelEvent e) throws java.beans.PropertyVetoException
PropertyVetoException
.
If the action is allowed, it will be followed by:fromIndex
, fromIndex+count-1
range
and the toIndex
to toIndex+count-1
range, so that
the original fromIndex
item ends up at the toIndex
position.
This effects all of the RulerModel indexed properties (size, preferredSize, minSize, maxSize
visible)toIndex
item is now the
one being moved.RulerModelEvent.RULER_ITEMS_MOVED
event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |