|
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
Class that internally represents a swim lane.
Constructor Summary | |
---|---|
Swimlanes.SwimlaneRepresentant(int swimlanePos,
boolean allowRearrangement)
Creates a new instance of SwimlaneRepresentant . |
Method Summary | |
---|---|
int |
getSwimlanePos()
Return the current position of the represented swim lane. |
boolean |
isAllowRearrangement()
Return whether the represented swim lane can be rearranged. |
void |
setAllowRearrangement(boolean allowRearrangement)
Specifies whether the represented swim lane can be rearranged. |
void |
setSwimlanePos(int swimlanePos)
Set the current position of the represented swim lane. |
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)
SwimlaneRepresentant
.
swimlanePos
- denotes the current position of the represented swim lane.allowRearrangement
- true
if the represented swim lane may be rearranged (see setAllowRearrangement(boolean)
)Method Detail |
---|
public int getSwimlanePos()
setSwimlanePos(int)
,
setAllowRearrangement(boolean)
public void setSwimlanePos(int swimlanePos)
swimlanePos
- the current position of the represented swim lane.getSwimlanePos()
,
setAllowRearrangement(boolean)
public boolean isAllowRearrangement()
true
iff the represented swim lane can be rearranged.setAllowRearrangement(boolean)
public void setAllowRearrangement(boolean allowRearrangement)
false
, the relative ordering given by getSwimlanePos()
is preserved. The remaining swim lanes may be rearranged.
allowRearrangement
- true
iff the represented swim lane can be rearranged.isAllowRearrangement()
,
()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |