|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.labelling.IlvMapLayoutParameters
public class IlvMapLayoutParameters
A class to store ILOG JViews Maps label layout parameters.
| Constructor Summary | |
|---|---|
IlvMapLayoutParameters()
Creates an IlvMapLayoutParameters. |
|
| Method Summary | |
|---|---|
float |
getDistFromOtherObstacles()
Retrieves the distance from the other obstacles. |
float |
getHalfPathHeight()
Retrieves the half path height. |
float |
getHalfPathWidth()
Retrieves the half path width. |
float |
getLabelOffset()
Retrieves the label offset. |
float |
getMaxDistFromPath()
Retrieves the max dist from path. |
float |
getObstacleOffset()
Retrieves the obstacle offset. |
int |
getObstacleShape()
Retrieves the obstacle shape. |
static IlvMapLayoutParameters |
GetParameters(IlvManager manager)
Constructs an IlvMapLayoutParameters from the properties attached
to an IlvManager. |
int |
getPreferredDirection()
Retrieves the preferred direction. |
float |
getPreferredDistFromPath()
Retrieves the preferred dist from path. |
boolean |
isUsingGraphicReference()
Tells if the labeler is using the IlvGraphic reference of the
IlvAnchoredLabel as an obstacle or as a point. |
static void |
PutParameters(IlvManager manager,
IlvMapLayoutParameters parameters)
Attaches the parameters to a manager. |
void |
setDistFromOtherObstacles(float d)
Set the distance from the other obstacles. |
void |
setHalfPathHeight(float h)
Sets the half path height. |
void |
setHalfPathWidth(float w)
Sets the half path width. |
void |
setLabelOffset(float o)
Sets the label offset. |
void |
setMaxDistFromPath(float m)
Set the max dist from path. |
void |
setObstacleOffset(float o)
Sets the obstacle offset. |
void |
setObstacleShape(int s)
Sets the obstacle shape. |
void |
setPreferredDirection(int d)
Sets the preferred direction. |
void |
setPreferredDistFromPath(float p)
Set the preferred dist from path. |
void |
setUsingGraphicReference(boolean use)
Tells the labeler if it should use the IlvGraphic reference
of the IlvAnchoredLabel reference as an
obstacle or as a point. |
String |
toString()
Pretty string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapLayoutParameters()
IlvMapLayoutParameters.
The default values are the following ones :
| Method Detail |
|---|
public float getLabelOffset()
public void setLabelOffset(float o)
IlvAnnealingLabelLayout.setLabelOffset(float)public float getObstacleOffset()
public void setObstacleOffset(float o)
IlvAnnealingLabelLayout.setObstacleOffset(float)public float getHalfPathWidth()
public void setHalfPathWidth(float w)
IlvAnnealingPointLabelDescriptor.setHalfWidth(float)public float getHalfPathHeight()
public void setHalfPathHeight(float h)
IlvAnnealingPointLabelDescriptor.setHalfHeight(float)public float getMaxDistFromPath()
public void setMaxDistFromPath(float m)
IlvAnnealingPointLabelDescriptor.setMaxDistFromPath(float)public float getPreferredDistFromPath()
public void setPreferredDistFromPath(float p)
IlvAnnealingPointLabelDescriptor.setPreferredDistFromPath(float)public float getDistFromOtherObstacles()
public void setDistFromOtherObstacles(float d)
public int getPreferredDirection()
public void setPreferredDirection(int d)
IlvAnnealingPointLabelDescriptor.setPreferredDirection(int)public int getObstacleShape()
public void setObstacleShape(int s)
IlvAnnealingPointLabelDescriptor.setShape(int)public void setUsingGraphicReference(boolean use)
IlvGraphic reference
of the IlvAnchoredLabel reference as an
obstacle or as a point.
IlvAnchoredLabel.getReference(),
IlvAnchoredLabel.getReferencePoint()public boolean isUsingGraphicReference()
IlvGraphic reference of the
IlvAnchoredLabel as an obstacle or as a point.
public String toString()
toString in class Object
public static void PutParameters(IlvManager manager,
IlvMapLayoutParameters parameters)
manager - The manager.parameters - The parameters to attach.public static IlvMapLayoutParameters GetParameters(IlvManager manager)
IlvMapLayoutParameters from the properties attached
to an IlvManager.
If no properties have been set, an IlvMapLayoutParameters with default
values is returned.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||