All Packages Class Hierarchy This Package Previous Next Index
Class bridge.ShapeEvent
java.lang.Object
|
+----java.util.EventObject
|
+----bridge.ShapeEvent
- public class ShapeEvent
- extends EventObject
A new shape received event
-
ShapeEvent(Object, int, int, float, float, int, float, float[], String[], int[], String)
- Constructs a shape event object.
-
getAttr()
- Returns the shape's attributes
-
getFillVal()
- Return the shape's fill value
-
getMode()
- Returns the shape's mode
-
getPicText()
-
-
getShapeTextArray()
- Returns the shape description text
-
getTextAlignment()
-
-
getType()
- Returns the event type
-
getVal()
- Return's the shape's o_val array.
-
getX()
- Return the shape's X coordinate
-
getY()
- Return the shape's Y coordinate
ShapeEvent
public ShapeEvent(Object source,
int o_type,
int o_mode,
float o_x,
float o_y,
int o_attr,
float o_fillval,
float o_val[],
String shapeTextArray[],
int textAlignment[],
String picText)
- Constructs a shape event object.
All the parameters passed as they received from the compiler.
- Parameters:
- source - the object where the object originated
getType
public int getType()
- Returns the event type
getMode
public int getMode()
- Returns the shape's mode
getX
public float getX()
- Return the shape's X coordinate
getY
public float getY()
- Return the shape's Y coordinate
getAttr
public int getAttr()
- Returns the shape's attributes
getFillVal
public float getFillVal()
- Return the shape's fill value
getVal
public float[] getVal()
- Return's the shape's o_val array.
This array has a different sense for different shapes
getShapeTextArray
public String[] getShapeTextArray()
- Returns the shape description text
getTextAlignment
public int[] getTextAlignment()
getPicText
public String getPicText()
All Packages Class Hierarchy This Package Previous Next Index