Packagecom.yworks.yfiles.layout.grid
Classpublic class PartitionCellId
InheritancePartitionCellId Inheritance YObject Inheritance Object

Represents an identifier for partition cells of the partition grid.

See also

com.yworks.yfiles.layout.grid.PartitionGrid


Public Properties
 PropertyDefined By
  cells : Collection
[read-only] Returns a collection of elements of type Pair.
PartitionCellId
  column : ColumnDescriptor
[read-only] Returns the first column associated with this partition cell id.
PartitionCellId
  isSpanning : Boolean
[read-only] Returns true if the partition cell id represents a multi-cell, i.e., whether or not it was created with method com.yworks.yfiles.layout.grid.PartitionGrid.createCellSpanId(), com.yworks.yfiles.layout.grid.PartitionGrid.createCellSpanId3(), com.yworks.yfiles.layout.grid.PartitionGrid.createCellSpanId2(), com.yworks.yfiles.layout.grid.PartitionGrid.createColumnSpanId() or com.yworks.yfiles.layout.grid.PartitionGrid.createRowSpanId().
PartitionCellId
  row : RowDescriptor
[read-only] Returns the first row associated with this partition cell id.
PartitionCellId
Public Methods
 MethodDefined By
  
PartitionCellId(init:Boolean = true)
PartitionCellId
  
equals(o:Object):Boolean
[override]
PartitionCellId
  
getClass():Class
[override]
PartitionCellId
  
hashCode():int
[override]
PartitionCellId
Property Detail
cellsproperty
cells:Collection  [read-only]

Returns a collection of elements of type Pair. Each pair consists of a column and a row defining a single partition cell. Note: a partition cell id that covers more than one partition cell can only be assigned to group nodes.


Implementation
    public function get cells():Collection
columnproperty 
column:ColumnDescriptor  [read-only]

Returns the first column associated with this partition cell id.


Implementation
    public function get column():ColumnDescriptor
isSpanningproperty 
isSpanning:Boolean  [read-only]

Returns true if the partition cell id represents a multi-cell, i.e., whether or not it was created with method com.yworks.yfiles.layout.grid.PartitionGrid.createCellSpanId(), com.yworks.yfiles.layout.grid.PartitionGrid.createCellSpanId3(), com.yworks.yfiles.layout.grid.PartitionGrid.createCellSpanId2(), com.yworks.yfiles.layout.grid.PartitionGrid.createColumnSpanId() or com.yworks.yfiles.layout.grid.PartitionGrid.createRowSpanId().


Implementation
    public function get isSpanning():Boolean

See also

rowproperty 
row:RowDescriptor  [read-only]

Returns the first row associated with this partition cell id.


Implementation
    public function get row():RowDescriptor
Constructor Detail
PartitionCellId()Constructor
public function PartitionCellId(init:Boolean = true)



Parameters
init:Boolean (default = true)
Method Detail
equals()method
override public function equals(o:Object):Boolean

Parameters

o:Object

Returns
Boolean
getClass()method 
override public function getClass():Class

Returns
Class
hashCode()method 
override public function hashCode():int

Returns
int