All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class IMSWG.IW.SubSet.Handle

java.lang.Object
   |
   +----IMSWG.IW.SubSet.Handle

public class Handle
extends Object

Constructor Index

 o Handle(String, float, float, float, float, float, float)

Method Index

 o draw(Graphics)
draw the handle on the pased graphics at the given x,y position.
 o getnewX()
 o getnewY()
 o getpadX()
 o getpadXl()
 o getpadXr()
 o getpadY()
 o getpadYl()
 o getpadYr()
 o getSlope()
 o getType()
 o getX()
 o getXl()
 o getXr()
 o getY()
 o getYl()
 o getYr()
 o grabbed(int, int)
 o set(float, float, float, float)
Set new values for just x,y position.
 o set(float, float, String, String)
Set new values for x,y position and up,down.

Constructors

 o Handle
 public Handle(String passedtype,
               float passedleftLineSlope,
               float passedleftLineYIntercept,
               float passedrightLineSlope,
               float passedrightLineYIntercept,
               float passedhandleSlope,
               float passedwidth)

Methods

 o set
 public void set(float passedX,
                 float passedY,
                 String up,
                 String down)
Set new values for x,y position and up,down. Values for up and down are "RESIZE","DRAG" or "FREEZE".

 o set
 public void set(float passedX,
                 float passedY,
                 float passedpadX,
                 float passedpadY)
Set new values for just x,y position.

 o draw
 public void draw(Graphics g)
draw the handle on the pased graphics at the given x,y position. Values for up and down are "RESIZE","DRAG" or "FREEZE".

 o grabbed
 public boolean grabbed(int xClick,
                        int yClick)
 o getXl
 public int getXl()
 o getXr
 public int getXr()
 o getYl
 public int getYl()
 o getYr
 public int getYr()
 o getX
 public float getX()
 o getY
 public float getY()
 o getpadXl
 public int getpadXl()
 o getpadXr
 public int getpadXr()
 o getpadYl
 public int getpadYl()
 o getpadYr
 public int getpadYr()
 o getpadX
 public float getpadX()
 o getpadY
 public float getpadY()
 o getnewX
 public float getnewX()
 o getnewY
 public float getnewY()
 o getType
 public String getType()
 o getSlope
 public float getSlope()

All Packages  Class Hierarchy  This Package  Previous  Next  Index