Packagecom.yworks.graph.model
Classpublic class StripeSubregion
InheritanceStripeSubregion Inheritance Object
Implements IEnum

Enumeration that specifies the various hotspot regions of an IStripe instance.

See also

StripeSubregionDescriptor


Public Properties
 PropertyDefined By
  value : Number
[read-only]
StripeSubregion
Public Methods
 MethodDefined By
  
StripeSubregion(value:Number)
Must not be used.
StripeSubregion
  
combine(... toCombine):StripeSubregion
[static] Returns a SubRegion instance which is a combination of the given parameter list.
StripeSubregion
  
hits(other:StripeSubregion):Boolean
Whether this subregion has common parts with the given other subregion.
StripeSubregion
  
toString():String
StripeSubregion
Public Constants
 ConstantDefined By
  ALL : StripeSubregion
[static] Flag for all stripe regions.
StripeSubregion
  FAR_BORDER : StripeSubregion
[static] Flag for the stripe far border region.
StripeSubregion
  HEADER : StripeSubregion
[static] Flag for both stripe headers.
StripeSubregion
  LEADING_HEADER : StripeSubregion
[static] Flag for the leading stripe header.
StripeSubregion
  NEAR_BORDER : StripeSubregion
[static] Flag for the stripe near border region.
StripeSubregion
  NONE : StripeSubregion
[static] No active hotspot region
StripeSubregion
  STRIPE : StripeSubregion
[static] Flag for the stripe itself.
StripeSubregion
  TRAILING_HEADER : StripeSubregion
[static] Flag for the trailing stripe header.
StripeSubregion
Property Detail
valueproperty
value:Number  [read-only]


Implementation
    public function get value():Number
Constructor Detail
StripeSubregion()Constructor
public function StripeSubregion(value:Number)

Must not be used.

Use the enum constants instead. To create a combination of two or more constants use the combine() method.

Parameters
value:Number

See also

Method Detail
combine()method
public static function combine(... toCombine):StripeSubregion

Returns a SubRegion instance which is a combination of the given parameter list.

Example: var header:StripeSubregion = StripeSubregion.combine(StripeSubregion.LEADING_HEADER, StripeSubregion.TRAILING_HEADER); combines the header subregions. (Note that the resulting subregion is equal to StripeSubregion.HEADER.

To test whether a subregion lies within the range which is defined by such a combination the method hits() can be used.

Parameters

... toCombine — A list of the subregions to combine.

Returns
StripeSubregion — A StripeSubregion instance which represents the combined subregions.

See also

hits()method 
public function hits(other:StripeSubregion):Boolean

Whether this subregion has common parts with the given other subregion.

For example:

Parameters

other:StripeSubregion

Returns
Boolean

See also

toString()method 
public function toString():String

Returns
String
Constant Detail
ALLConstant
public static const ALL:StripeSubregion

Flag for all stripe regions.

A bitwise combination of all enum values.

FAR_BORDERConstant 
public static const FAR_BORDER:StripeSubregion

Flag for the stripe far border region.

See also

HEADERConstant 
public static const HEADER:StripeSubregion

Flag for both stripe headers.

See also

LEADING_HEADERConstant 
public static const LEADING_HEADER:StripeSubregion

Flag for the leading stripe header.

See also

NEAR_BORDERConstant 
public static const NEAR_BORDER:StripeSubregion

Flag for the stripe near border region.

See also

NONEConstant 
public static const NONE:StripeSubregion

No active hotspot region

STRIPEConstant 
public static const STRIPE:StripeSubregion

Flag for the stripe itself.

See also

TRAILING_HEADERConstant 
public static const TRAILING_HEADER:StripeSubregion

Flag for the trailing stripe header.

See also