Uses of Class
org.apache.pivot.wtk.Point
-
Packages that use Point Package Description org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components.org.apache.pivot.wtk.effects Contains classes supporting visual effects such as blurs, reflections, and drop shadows. -
-
Uses of Point in org.apache.pivot.wtk
Methods in org.apache.pivot.wtk that return Point Modifier and Type Method Description static Point
Point. decode(java.lang.String value)
Decode a string value (which could be a JSON-formatted string (map or list)) that contains the two values for a new point.Point
Bounds. getLocation()
Point
Component. getLocation()
Point
Component. getMouseLocation()
Returns the current mouse location in the component's coordinate space.Point
DragSource. getOffset()
Returns the offset of the mouse pointer within the drag visual.Point
Component. mapPointFromAncestor(Container ancestor, int xValue, int yValue)
Maps a point in the specified ancestor's coordinate space to this component's coordinate system.Point
Component. mapPointFromAncestor(Container ancestor, Point location)
Point
Component. mapPointToAncestor(Container ancestor, int xValue, int yValue)
Maps a point in this component's coordinate system to the specified ancestor's coordinate space.Point
Component. mapPointToAncestor(Container ancestor, Point location)
Maps a point in this component's coordinate system to the specified ancestor's coordinate space.Point
Point. translate(int dx, int dy)
Return a newPoint
object which represents this point moved to a new location,dx
anddy
away from the original.Methods in org.apache.pivot.wtk with parameters of type Point Modifier and Type Method Description boolean
Bounds. contains(Point point)
Point
Component. mapPointFromAncestor(Container ancestor, Point location)
Point
Component. mapPointToAncestor(Container ancestor, Point location)
Maps a point in this component's coordinate system to the specified ancestor's coordinate space.void
MenuPopup. open(Display display, Point location)
void
MenuPopup. open(Window owner, Point location)
void
Component. setLocation(Point location)
Sets the component's location.Bounds
Bounds. translate(Point offset)
Constructors in org.apache.pivot.wtk with parameters of type Point Constructor Description Bounds(Point origin, Dimensions size)
Construct a bounds object given the origin position and size.Point(Point point)
A "copy" constructor to duplicate a point value. -
Uses of Point in org.apache.pivot.wtk.effects
Methods in org.apache.pivot.wtk.effects that return Point Modifier and Type Method Description Point
TranslationDecorator. getOffset()
Point
ClipDecorator. getOrigin()
Methods in org.apache.pivot.wtk.effects with parameters of type Point Modifier and Type Method Description void
TranslationDecorator. setOffset(Point offset)
-