|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.vrjuggler.vrjconfig.commoneditors.placer.AbstractPlacerModel
public abstract class AbstractPlacerModel
Partial implementation of placer models that helps take care of implementing the mundane stuff. Extend this class to easily create new placer data models.
| Field Summary | |
|---|---|
protected EventListenerList |
listeners
List of all listeners of this model. |
| Constructor Summary | |
|---|---|
AbstractPlacerModel()
|
|
| Method Summary | |
|---|---|
void |
addPlacerModelListener(PlacerModelListener listener)
Adds a listener that's notified each time this data model changes. |
void |
fireDesktopSizeChanged()
Notifies all listeners that the size of the desktop has changed. |
void |
fireItemsChanged(int[] indicies)
Notifies all listeners that items were changed. |
void |
fireItemsInserted(int[] indicies)
Notifies all listeners that items were inserted. |
void |
fireItemsRemoved(int[] indicies,
Object[] values)
Notifies all listeners that items were removed. |
void |
removePlacerModelListener(PlacerModelListener listener)
Removes a listener that's notified each time this data model changes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.vrjuggler.vrjconfig.commoneditors.placer.PlacerModel |
|---|
getDesktopSize, getElement, getElementAt, getIndexOfElementAt, getLocationOf, getSize, getSizeOf, moveToFront, setDesktopSize, setLocationOf, setSizeOf |
| Field Detail |
|---|
protected EventListenerList listeners
| Constructor Detail |
|---|
public AbstractPlacerModel()
| Method Detail |
|---|
public void addPlacerModelListener(PlacerModelListener listener)
addPlacerModelListener in interface PlacerModelpublic void removePlacerModelListener(PlacerModelListener listener)
removePlacerModelListener in interface PlacerModelpublic void fireItemsChanged(int[] indicies)
public void fireItemsInserted(int[] indicies)
public void fireItemsRemoved(int[] indicies,
Object[] values)
public void fireDesktopSizeChanged()
|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||