public interface IProjectionFactory
| Modifier and Type | Field and Description |
|---|---|
static int |
H_CENTER
horizontal center alignment
|
static int |
H_LEFT
horizontal left alignment
|
static int |
H_RIGHT
horizontal right alignment
|
static int |
MODE_WIDTH_IS_EXACT_WITDH
schoud be accurate textArrayWidthHint
|
static int |
MODE_WIDTH_IS_MAXMIMUM_WITDH
shoud be smaler then textArrayWidthHint when the Text is shorter
|
static int |
MODE_WIDTH_IS_MINIMUM_WITDH
shoud be biger then textArrayWidthHint when the Text is longer
|
static int |
V_BOTTOM
vertical bottom alignment
|
static int |
V_CENTER
vertical center alignment
|
static int |
V_TOP
vertical top alignment
|
| Modifier and Type | Method and Description |
|---|---|
com.arcway.planagent.controllinginterface.planviewer.IProjection |
createBubbleContainerProjection(java.util.List<com.arcway.planagent.controllinginterface.planviewer.IProjection> projections)
Wrappes the given projections into a bubble.
|
IColor |
createColor(int red,
int green,
int blue)
Creates a color.
|
com.arcway.planagent.controllinginterface.planviewer.IProjection |
createCounterProjection(int count)
Counter.
|
com.arcway.planagent.controllinginterface.planviewer.IProjection |
createCounterProjection(int count,
IColor color)
Counter.
|
com.arcway.planagent.controllinginterface.planviewer.IProjection |
createCounterProjection(java.lang.String text,
IColor color)
Counter.
|
com.arcway.planagent.controllinginterface.planviewer.IProjection |
createDimensionedProgressBarProjection(double barAreaWidth,
double textAreaMinWidth,
double barAreaHeight,
double axisAreaHeight,
IColor axisColor,
double axisLength,
IColor axisBorderColor,
IColor axisLabelColor,
ITextStyle axisLabelTextStyle,
java.lang.String axisLabelText,
IColor barPartLeftFillColor,
IColor barPartLeftTextColor,
ITextStyle barPartLeftTextStyle,
java.lang.String barPartLeftText,
double barPartLeftLength,
IColor barPartRightFillColor,
IColor barPartRightTextColor,
ITextStyle barPartRightTextStyle,
java.lang.String barPartRightText,
double barPartRigthLength,
IColor barBorderColor,
IColor barLabelColor,
ITextStyle barLabelTextStyle,
java.lang.String barLabelText)
Dimensioned progress bar projection
Use
createColor(int, int, int) and
#createTextStyle(String, int, int) to create the colors and
text styles. |
com.arcway.planagent.controllinginterface.planviewer.IProjection |
createProgressBarProjection(int progress)
Progress bar.
|
com.arcway.planagent.controllinginterface.planviewer.IProjection |
createTextArrayProjection(java.util.List<java.lang.String> texts,
IColor textColor,
double textArrayWidthHint,
int textArrayWidthMode,
ITextStyle textStyle,
double textHeight,
int hAlignment,
int vAlignment)
Text projection.
|
com.arcway.planagent.controllinginterface.planviewer.IProjection |
createTextLabelProjection(java.lang.String text)
Text label.
|
com.arcway.planagent.controllinginterface.planviewer.IProjection |
createTextProjection(java.lang.String text,
IColor textColor,
double textWidth,
ITextStyle textStyle,
double textHeight,
int hAlignment,
int vAlignment)
Text projection.
|
ITextStyle |
createTextStyle(java.lang.String fontName,
boolean isBold,
boolean isItalic)
Creates a text style.
|
com.arcway.planagent.controllinginterface.planviewer.IProjection |
createWarningSignProjection()
Creates a warning sign projection.
|
static final int H_LEFT
static final int H_CENTER
static final int H_RIGHT
static final int V_TOP
static final int V_CENTER
static final int V_BOTTOM
static final int MODE_WIDTH_IS_EXACT_WITDH
static final int MODE_WIDTH_IS_MINIMUM_WITDH
static final int MODE_WIDTH_IS_MAXMIMUM_WITDH
com.arcway.planagent.controllinginterface.planviewer.IProjection createWarningSignProjection()
com.arcway.planagent.controllinginterface.planviewer.IProjection createTextProjection(java.lang.String text,
IColor textColor,
double textWidth,
ITextStyle textStyle,
double textHeight,
int hAlignment,
int vAlignment)
text - the text to be displayedtextColor - the text color (use
createColor(int, int, int) to create the color)textWidth - the text array widthtextStyle - the text style to use (use
#createTextStyle(String, int, int) to create the style)textHeight - the text heighthAlignment - H_LEFT, H_CENTER or
H_RIGHTvAlignment - V_TOP, V_CENTER or
V_BOTTOMcom.arcway.planagent.controllinginterface.planviewer.IProjection createTextArrayProjection(java.util.List<java.lang.String> texts,
IColor textColor,
double textArrayWidthHint,
int textArrayWidthMode,
ITextStyle textStyle,
double textHeight,
int hAlignment,
int vAlignment)
texts - textColor - the text color (use
createColor(int, int, int) to create the color)textArrayWidthHint - textArrayWidthMode - (use MODE_WIDTH_IS_EXACT_WITDH},
MODE_WIDTH_IS_MINIMUM_WITDH or
MODE_WIDTH_IS_MAXMIMUM_WITDH})textStyle - the text style to use (use
#createTextStyle(String, int, int) to create the style)textHeight - hAlignment - H_LEFT, H_CENTER or
H_RIGHTvAlignment - V_TOP, V_CENTER or
V_BOTTOMcom.arcway.planagent.controllinginterface.planviewer.IProjection createTextLabelProjection(java.lang.String text)
text - com.arcway.planagent.controllinginterface.planviewer.IProjection createCounterProjection(int count)
count - com.arcway.planagent.controllinginterface.planviewer.IProjection createCounterProjection(int count,
IColor color)
count - color - the background color (use
createColor(int, int, int) to create the color)com.arcway.planagent.controllinginterface.planviewer.IProjection createCounterProjection(java.lang.String text,
IColor color)
text - color - the background color (use
createColor(int, int, int) to create the color)com.arcway.planagent.controllinginterface.planviewer.IProjection createProgressBarProjection(int progress)
progress - 0..100com.arcway.planagent.controllinginterface.planviewer.IProjection createBubbleContainerProjection(java.util.List<com.arcway.planagent.controllinginterface.planviewer.IProjection> projections)
projections - to be wrappedcom.arcway.planagent.controllinginterface.planviewer.IProjection createDimensionedProgressBarProjection(double barAreaWidth,
double textAreaMinWidth,
double barAreaHeight,
double axisAreaHeight,
IColor axisColor,
double axisLength,
IColor axisBorderColor,
IColor axisLabelColor,
ITextStyle axisLabelTextStyle,
java.lang.String axisLabelText,
IColor barPartLeftFillColor,
IColor barPartLeftTextColor,
ITextStyle barPartLeftTextStyle,
java.lang.String barPartLeftText,
double barPartLeftLength,
IColor barPartRightFillColor,
IColor barPartRightTextColor,
ITextStyle barPartRightTextStyle,
java.lang.String barPartRightText,
double barPartRigthLength,
IColor barBorderColor,
IColor barLabelColor,
ITextStyle barLabelTextStyle,
java.lang.String barLabelText)
Use createColor(int, int, int) and
#createTextStyle(String, int, int) to create the colors and
text styles.
barAreaWidth - width of bar area in 1/72 dpitextAreaMinWidth - minimum width of bar text in 1/72 dpibarAreaHeight - height of the bar in 1/72 dpiaxisAreaHeight - height of the axis in 1/72 dpiaxisColor - axis color (null if no axis and no axis label)axisLength - axis length (in the same unit as barPartLeftLength
and barPartRigthLength)axisBorderColor - color of the border of the axisaxisLabelColor - color of axis label (null if no axis label)axisLabelTextStyle - text style of the axis label (null if no
axis label)axisLabelText - text of axis label (null if no axis label)barPartLeftFillColor - fill color of the left part of the barbarPartLeftTextColor - color of the text in the left part of the
bar (null if no text for this bar part)barPartLeftTextStyle - text style of the left bar part label
(null if no label)barPartLeftText - text in the left part of the bar (null if no
text for this bar part)barPartLeftLength - left bar part length (in the same unit as
axisLength and barPartRigthLength)barPartRightFillColor - fill color of the rigth part of the barbarPartRightTextColor - color of the text in the right part of
the bar (null if no text for this bar part)barPartRightTextStyle - text style of the right bar part label
(null if no label)barPartRightText - text in the right part of the bar (null if no
text for this bar part)barPartRigthLength - right bar part length (in the same unit as
axisLength and barPartLeftLength)barBorderColor - color of the border of the barbarLabelColor - color of bar label (null if no bar label)barLabelTextStyle - style of the bar label (null if no bar
label)barLabelText - text of bar label (null if no bar label)IColor createColor(int red, int green, int blue)
red - 0..255green - 0..255blue - 0..255ITextStyle createTextStyle(java.lang.String fontName, boolean isBold, boolean isItalic)
fontName - isBold - true for boldisItalic - true for italic