|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.Swimlanes.SwimlaneRepresentant
public static class Swimlanes.SwimlaneRepresentant
A SwimlaneRepresentant
represents the position and arrangement
mode for a swimlane.
Constructor Summary | |
---|---|
Swimlanes.SwimlaneRepresentant(int swimlanePos,
boolean allowRearrangement)
Creates a new Swimlanes.SwimlaneRepresentant instance. |
Method Summary | |
---|---|
int |
getSwimlanePos()
Returns the current position of the represented swimlane. |
boolean |
isAllowRearrangement()
Returns whether or not the represented swimlane can be rearranged. |
void |
setAllowRearrangement(boolean allowRearrangement)
Specifies whether or not the represented swimlane can be rearranged. |
void |
setSwimlanePos(int swimlanePos)
Specifies the current position of the represented swimlane. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Swimlanes.SwimlaneRepresentant(int swimlanePos, boolean allowRearrangement)
Swimlanes.SwimlaneRepresentant
instance.
swimlanePos
- denotes the current position of the represented swimlaneallowRearrangement
- true
if the represented swimlane may be
rearranged
, false
otherwiseMethod Detail |
---|
public int getSwimlanePos()
The swimlane positions are described by a zero-based index and must not be negative.
setSwimlanePos(int)
public void setSwimlanePos(int swimlanePos)
The swimlane positions are described by a zero-based index and must not be negative.
swimlanePos
- the current position of the swimlane
java.lang.IllegalArgumentException
- if the position is smaller than 0
public boolean isAllowRearrangement()
For all swimlanes with disabled rearrangement, the relative ordering given by getSwimlanePos()
is
preserved. The other swimlanes may be rearranged.
true
if the represented swimlane can be rearranged, false
otherwisesetAllowRearrangement(boolean)
public void setAllowRearrangement(boolean allowRearrangement)
For all swimlanes with disabled rearrangement, the relative ordering given by getSwimlanePos()
is
preserved. The other swimlanes may be rearranged.
allowRearrangement
- true
if the represented swimlane can be rearranged, 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 |