|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.graphic.IlvGraphicSet
ilog.views.sdm.graphic.IlvGeneralNode
ilog.views.sdm.graphic.IlvDefaultLaneGraphic
public class IlvDefaultLaneGraphic
This is the default graphic object used to represent swim lanes.
It is an IlvGeneralNode whose label can be either near the
top of the shape (and horizontal), or near the left of the shape (and vertical).
In addition, the lane graphic has a separator line below or to the right of the
label.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ilog.views.graphic.IlvGraphicSet |
|---|
IlvGraphicSet.DelegateObjectInteractor |
| Field Summary |
|---|
| Fields inherited from class ilog.views.sdm.graphic.IlvGeneralNode |
|---|
CUSTOM, DIAMOND, ELLIPSE, EXPAND_ONLY, EXPAND_OR_SHRINK, High_Quality_Icons, icon, LABEL_UNCHANGED, labels, layoutNeeded, LINEAR_GRADIENT, MARKER, NO_AUTO_RESIZE, NO_FILL, RADIAL_GRADIENT, realizeNeeded, RECTANGLE, ROUND_RECTANGLE, shape, SHRINK_ONLY, SOLID_COLOR, TEXTURE, TRIANGLE_DOWN, TRIANGLE_LEFT, TRIANGLE_RIGHT, TRIANGLE_UP, TRUNCATE, WORD_WRAP |
| Fields inherited from class ilog.views.graphic.IlvGraphicSet |
|---|
list |
| Constructor Summary | |
|---|---|
IlvDefaultLaneGraphic()
Creates a new lane graphic. |
|
IlvDefaultLaneGraphic(IlvDefaultLaneGraphic source)
Creates a copy of the specified lane graphic. |
|
IlvDefaultLaneGraphic(IlvInputStream stream)
Reads a lane graphic from an input stream. |
|
| Method Summary | |
|---|---|
IlvGraphic |
copy()
Returns a copy of this lane graphic. |
protected void |
doLayout()
This method is overridden to lay out the label and the separator according to the orientation of the lane. |
boolean |
isHorizontal()
Returns true if the label is horizontal and near the top of the
shape, false if the label is vertical and near the left of the
shape. |
boolean |
isSeparatorVisible()
|
protected void |
realize()
This method is overridden to create the additional separator line. |
void |
setHorizontal(boolean horizontal)
Changes the position and the orientation of the label. |
void |
setSeparatorVisible(boolean separatorVisible)
|
void |
write(IlvOutputStream stream)
Writes this general node to an output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.views.IlvGraphicBag |
|---|
getGraphicBag |
| Constructor Detail |
|---|
public IlvDefaultLaneGraphic()
public IlvDefaultLaneGraphic(IlvDefaultLaneGraphic source)
source - The lane graphic to copy.
public IlvDefaultLaneGraphic(IlvInputStream stream)
throws IlvReadFileException
stream - The input stream
IlvReadFileException - If an I/O error occurred.| Method Detail |
|---|
public IlvGraphic copy()
copy in class IlvGeneralNodeIlvGraphic
public void write(IlvOutputStream stream)
throws IOException
IlvGeneralNode
write in interface IlvPersistentObjectwrite in class IlvGeneralNodestream - The output stream.
IOException - if a write error occurred.public boolean isHorizontal()
true if the label is horizontal and near the top of the
shape, false if the label is vertical and near the left of the
shape.
public void setHorizontal(boolean horizontal)
horizontal - If true, the label is near the top of the shape and horizontal,
if false the label is near the left of the shape and vertical.public boolean isSeparatorVisible()
public void setSeparatorVisible(boolean separatorVisible)
protected void realize()
realize in class IlvGeneralNodeprotected void doLayout()
doLayout in class IlvGeneralNode
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||