Packagestimulsoft.report.components.design
Classpublic class StiActionUtils
InheritanceStiActionUtils Inheritance Object

Describes a class that contains methods which serve for operation with a rectangle and cursor.



Public Methods
 MethodDefined By
  
getActionFromPoint(x:Number, y:Number, component:StiComponent):int
[static] Returns action for specified component from point.
StiActionUtils
  
pointInEdge(x:Number, y:Number, point:StiPoint, size:Number):Boolean
[static] Checks is this point gets into the specified corner.
StiActionUtils
  
pointInRect(x:Number, y:Number, rect:StiRectangle):Boolean
[static] Checks does the point fit into the position.
StiActionUtils
  
pointInRectAction(size:Number, x:Number, y:Number, sizeRect:StiRectangle, selectedRect:StiRectangle, isSelected:Boolean, locked:Boolean):int
[static] Returns the action fits to the position of a point in the specified rectangle.
StiActionUtils
Method Detail
getActionFromPoint()method
public static function getActionFromPoint(x:Number, y:Number, component:StiComponent):int

Returns action for specified component from point.

Parameters

x:Number
 
y:Number
 
component:StiComponent

Returns
int
pointInEdge()method 
public static function pointInEdge(x:Number, y:Number, point:StiPoint, size:Number):Boolean

Checks is this point gets into the specified corner.

Parameters

x:Number
 
y:Number
 
point:StiPoint
 
size:Number

Returns
Boolean
pointInRect()method 
public static function pointInRect(x:Number, y:Number, rect:StiRectangle):Boolean

Checks does the point fit into the position.

Parameters

x:Number
 
y:Number
 
rect:StiRectangle

Returns
Boolean
pointInRectAction()method 
public static function pointInRectAction(size:Number, x:Number, y:Number, sizeRect:StiRectangle, selectedRect:StiRectangle, isSelected:Boolean, locked:Boolean):int

Returns the action fits to the position of a point in the specified rectangle.

Parameters

size:Number
 
x:Number
 
y:Number
 
sizeRect:StiRectangle
 
selectedRect:StiRectangle
 
isSelected:Boolean
 
locked:Boolean

Returns
int