|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.media.VirtualRangeModel
public class VirtualRangeModel
Provides a BoundedRangeModel interface to a virtual media panel
so that it can easily be wired up to scroll bars or other scrolling
controls.
| Field Summary | |
|---|---|
protected BoundedRangeModel |
_hrange
|
protected VirtualMediaPanel |
_panel
|
protected BoundedRangeModel |
_vrange
|
| Constructor Summary | |
|---|---|
VirtualRangeModel(VirtualMediaPanel panel)
Creates a virtual media panel range model that will interact with the supplied virtual media panel. |
|
| Method Summary | |
|---|---|
BoundedRangeModel |
getHorizModel()
Returns a range model that controls the scrollability of the scene in the horizontal direction. |
BoundedRangeModel |
getVertModel()
Returns a range model that controls the scrollability of the scene in the vertical direction. |
void |
setScrollableArea(int x,
int y,
int width,
int height)
Informs the virtual range model the extent of the area over which we can scroll. |
void |
stateChanged(ChangeEvent e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected VirtualMediaPanel _panel
protected BoundedRangeModel _hrange
protected BoundedRangeModel _vrange
| Constructor Detail |
|---|
public VirtualRangeModel(VirtualMediaPanel panel)
| Method Detail |
|---|
public void setScrollableArea(int x,
int y,
int width,
int height)
public BoundedRangeModel getHorizModel()
public BoundedRangeModel getVertModel()
public void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||