|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.grid.PartitionCellId
public class PartitionCellId
PartitionCellId
represents an identifier for partition cells of a partition grid
structure.
PartitionGrid
Nested Class Summary | |
---|---|
static class |
PartitionCellId.Pair
This class represents a single partition cell, i.e., a pair consisting of a row and a column. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compares this PartitionCellId instance with a given other PartitionCellId instance. |
java.util.Collection |
getCells()
Returns a collection of elements of type PartitionCellId.Pair . |
ColumnDescriptor |
getColumn()
Returns the first column associated with this partition cell identifier. |
RowDescriptor |
getRow()
Returns the first row associated with this partition cell identifier. |
int |
hashCode()
Returns the hash code value for this PartitionCellId instance. |
boolean |
isSpanning()
Returns whether or not this PartitionCellId represents a multi-cell, i.e., a cell spanning
multiple rows/columns. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.util.Collection getCells()
collection
of elements of type PartitionCellId.Pair
.
Each pair consists of a column
and a row
defining a single
partition cell
.
partition cell
identifier that covers more than one partition cell can only be assigned
to group nodes.Collection
of elements of type PartitionCellId.Pair
public boolean isSpanning()
PartitionCellId
represents a multi-cell, i.e., a cell spanning
multiple rows/columns.
This means that it was created using
PartitionGrid.createCellSpanId(Collection, Collection)
,
PartitionGrid.createCellSpanId(RowDescriptor, ColumnDescriptor, RowDescriptor, ColumnDescriptor)
,
PartitionGrid.createCellSpanId(int, int, int, int)
, PartitionGrid.createColumnSpanId(int)
or
PartitionGrid.createRowSpanId(int)
.
true
if this PartitionCellId
represents a multi-cell,
false
otherwisepublic RowDescriptor getRow()
row
associated with this partition cell
identifier.
row
associated with this partition cell
identifierpublic ColumnDescriptor getColumn()
column
associated with this partition cell
identifier.
column
associated with this partition cell
identifierpublic boolean equals(java.lang.Object o)
PartitionCellId
instance with a given other PartitionCellId
instance.
equals
in class java.lang.Object
o
- the given PartitionCellId
instance
true
if the two objects are equal, false
otherwisepublic int hashCode()
PartitionCellId
instance.
hashCode
in class java.lang.Object
PartitionCellId
instance
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |