|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.tree.AbstractRotatableNodePlacer.Matrix
public static class AbstractRotatableNodePlacer.Matrix
A matrix describes the rotation of the subtree handled by AbstractRotatableNodePlacer
.
Subtrees may be rotated or mirrored. Also, matrices offering a combination of rotation and mirroring are provided.
Field Summary | |
---|---|
static java.util.List |
AVAILABLE
A list of all available matrices. |
static AbstractRotatableNodePlacer.Matrix |
DEFAULT
The identity matrix which does not apply any rotation or mirroring. |
static AbstractRotatableNodePlacer.Matrix |
MIR_HOR
A matrix which applies a horizontal mirroring. |
static AbstractRotatableNodePlacer.Matrix |
MIR_HOR_ROT90
A matrix which applies a horizontal mirroring and a counter-clockwise rotation by 90 degrees. |
static AbstractRotatableNodePlacer.Matrix |
MIR_VERT
A matrix which applies a vertical mirroring. |
static AbstractRotatableNodePlacer.Matrix |
MIR_VERT_ROT90
A matrix which applies a vertical mirroring and a counter-clockwise rotation by 90 degrees. |
static AbstractRotatableNodePlacer.Matrix |
ROT180
A matrix which applies a rotation by 180 degrees. |
static AbstractRotatableNodePlacer.Matrix |
ROT270
A matrix which applies a counter-clockwise rotation by 270 degrees. |
static AbstractRotatableNodePlacer.Matrix |
ROT90
A matrix which applies a counter-clockwise rotation by 90 degrees. |
Method Summary | |
---|---|
boolean |
equalValues(AbstractRotatableNodePlacer.Matrix other)
Compares the values of the current AbstractRotatableNodePlacer.Matrix with the values of the given AbstractRotatableNodePlacer.Matrix . |
AbstractRotatableNodePlacer.Matrix |
multiply(AbstractRotatableNodePlacer.Matrix other)
Multiplies this AbstractRotatableNodePlacer.Matrix with the given other AbstractRotatableNodePlacer.Matrix . |
java.lang.String |
toString()
Returns a String representation of this AbstractRotatableNodePlacer.Matrix . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final AbstractRotatableNodePlacer.Matrix DEFAULT
public static final AbstractRotatableNodePlacer.Matrix ROT90
public static final AbstractRotatableNodePlacer.Matrix ROT180
public static final AbstractRotatableNodePlacer.Matrix ROT270
public static final AbstractRotatableNodePlacer.Matrix MIR_HOR
public static final AbstractRotatableNodePlacer.Matrix MIR_VERT
public static final AbstractRotatableNodePlacer.Matrix MIR_HOR_ROT90
public static final AbstractRotatableNodePlacer.Matrix MIR_VERT_ROT90
public static final java.util.List AVAILABLE
Method Detail |
---|
public AbstractRotatableNodePlacer.Matrix multiply(AbstractRotatableNodePlacer.Matrix other)
AbstractRotatableNodePlacer.Matrix
with the given other AbstractRotatableNodePlacer.Matrix
.
other
- the other matrix
public java.lang.String toString()
String
representation of this AbstractRotatableNodePlacer.Matrix
.
toString
in class java.lang.Object
String
representing this AbstractRotatableNodePlacer.Matrix
public boolean equalValues(AbstractRotatableNodePlacer.Matrix other)
AbstractRotatableNodePlacer.Matrix
with the values of the given AbstractRotatableNodePlacer.Matrix
.
other
- the matrix
true
if this matrix and the given other matrix contain the same values,
false
otherwise
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |