|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlaneView
Policy for a custom viewer that plots to an unbounded plane.
Nested Class Summary | |
---|---|
static class |
PlaneView.ResizeResponse
Possible responses to resizing of the viewer managed by a PlaneView . |
Field Summary | |
---|---|
static double |
INCH_PTS
|
static java.lang.String |
ZOOM_IN
|
static java.lang.String |
ZOOM_OUT
|
Fields inherited from interface facets.core.superficial.app.SView |
---|
NO_VIEW |
Method Summary | |
---|---|
Vector |
plotShift()
The location of the viewport origin. |
PlaneView.ResizeResponse |
resizeResponse()
Does the view adjust its scale or its shape if the viewer facet is resized? |
double |
scale()
|
void |
setShowValues(double width,
double height,
Vector plotShift,
double scale)
Set the view area. |
double |
showHeight()
The minimum unscaled height of the viewport onto the plane. |
double |
showWidth()
The minimum unscaled width of the viewport onto the plane. |
java.lang.Object |
stamp()
Identifier that should change with each change in view properties. |
int |
ySign()
Which way up is the unscaled Y axis?. |
Methods inherited from interface facets.core.app.avatar.AvatarView |
---|
avatars, backgroundStyle, doesDnD, markLeapPixels, markPixels, pickHitPixels |
Methods inherited from interface facets.core.superficial.app.SView |
---|
allowMultipleSelection, isLive |
Methods inherited from interface facets.util.Titled |
---|
title |
Field Detail |
---|
static final java.lang.String ZOOM_OUT
static final java.lang.String ZOOM_IN
static final double INCH_PTS
Method Detail |
---|
double showHeight()
double
double showWidth()
double
int ySign()
Vector plotShift()
Vector
PlaneView.ResizeResponse resizeResponse()
void setShowValues(double width, double height, Vector plotShift, double scale)
width
- will be returned as showWidth()
height
- will be returned as showHeight()
plotShift
- will be returned as plotShift()
scale
- will be returned asjava.lang.Object stamp()
Integer
containing an auto-incremented valuedouble scale()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |