public interface IElementPresentationRule
| Modifier and Type | Method and Description |
|---|---|
double |
getColorWeight()
Determines "how much" the color effect is applied.
|
java.lang.String |
getComment()
Gets the comment for this element
|
IElementPresentationRule |
getCopy()
Gets a copy of this rule.
|
IColor |
getCoronaColor()
Gets the corona color.
|
double |
getCoronaWidth()
Gets the corona width.
|
java.lang.String |
getDescription()
Gets the description for this element
|
java.lang.String |
getDisplayName()
Gets the display name for this element
|
IColor |
getFillColor()
Gets the fill color.
|
double |
getFillOpacity()
Determines, how much the element should become transparent or opaque
Default value is: 0 (keep original value).
|
IColor |
getLineColor()
Gets the line color.
|
com.arcway.planagent.controllinginterface.planviewer.IProjection |
getProjection()
Returns the projecton of this plan element
|
java.lang.String |
getRole()
Gets the role name for this element
The role e.g. is used in SVG graphics as classID.
|
void |
resetCorona()
Resets the corona color for related elements.
|
void |
resetFillColor()
Resets the fill color for related elements.
|
void |
resetLineColor()
Resets the line color for related elements.
|
void |
setColorWeight(double colorWeight)
Determines "how much" the color effect is applied.
|
void |
setComment(java.lang.String comment)
Sets the comment for this element
|
void |
setCommentAsStringList(java.util.Collection<? extends java.lang.String> comment)
Sets the comment for this element
|
void |
setCorona(int red,
int green,
int blue,
double width)
Sets a corona for related elements.
|
void |
setDescription(java.lang.String description)
Sets the description for this element
|
void |
setDescriptionFromStringList(java.util.Collection<? extends java.lang.String> description)
Sets the description for this element
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name for this element
|
void |
setFillColor(int red,
int green,
int blue)
Sets a fill color for related elements.
|
void |
setFillOpacity(double fillOpacity)
Determines, how much the element should become transparent or opaque
Default value is: 0 (keep original value).
|
void |
setLineColor(int red,
int green,
int blue)
Sets the line color for related elements.
|
void |
setProjection(com.arcway.planagent.controllinginterface.planviewer.IProjection projection)
Sets a projection, for this plan element.
|
void |
setRole(java.lang.String role)
Sets the role name for this element
The role e.g. is used in SVG graphics as classID.
|
void |
setShowGuidelines(boolean showGuidelines)
Determines, if guidelines shall be drawn (e.g. a dashed border around
text supplements)
|
boolean |
showGuidelines()
Determines, if guidelines shall be drawn (e.g. a dashed border around
text supplements)
|
IElementPresentationRule getCopy()
void setRole(java.lang.String role)
The role e.g. is used in SVG graphics as classID.
role - null for nonejava.lang.String getRole()
The role e.g. is used in SVG graphics as classID.
void setDisplayName(java.lang.String displayName)
displayName - null for defaultjava.lang.String getDisplayName()
void setDescription(java.lang.String description)
description - null for defaultvoid setDescriptionFromStringList(java.util.Collection<? extends java.lang.String> description)
description - null for defaultjava.lang.String getDescription()
void setComment(java.lang.String comment)
comment - null for defaultvoid setCommentAsStringList(java.util.Collection<? extends java.lang.String> comment)
comment - null for defaultjava.lang.String getComment()
void setFillColor(int red,
int green,
int blue)
red - 0..255green - 0..255blue - 0..255void resetFillColor()
IColor getFillColor()
double getFillOpacity()
Default value is: 0 (keep original value).
void setFillOpacity(double fillOpacity)
Default value is: 0 (keep original value).
fillOpacity - -1 for transparent .. 0 to keep .. +1 for opaquevoid setLineColor(int red,
int green,
int blue)
red - 0..255green - 0..255blue - 0..255void resetLineColor()
IColor getLineColor()
void setColorWeight(double colorWeight)
Default is: 1.
colorWeight - 0 means "no effect"/"keep original color" .. 1 means
"full effect"/"use highlight color"double getColorWeight()
Default is: 1.
void setCorona(int red,
int green,
int blue,
double width)
red - 0..255green - 0..255blue - 0..255width - corona widthvoid resetCorona()
IColor getCoronaColor()
double getCoronaWidth()
void setShowGuidelines(boolean showGuidelines)
showGuidelines - true to show guidelines, false otherwiseboolean showGuidelines()
void setProjection(com.arcway.planagent.controllinginterface.planviewer.IProjection projection)
Projections are small information elements like warning sings, additonal texts, progress bars and so on.
projection - (use IProjectionFactory to create the
projection (null for none)com.arcway.planagent.controllinginterface.planviewer.IProjection getProjection()