public interface IlpObjectCustomization
The properties defined in this class can be used in the following cascading style sheet selectors:
object."MyBusinessClass" { labelVisible: true; label: @name; }
Modifier and Type | Method and Description |
---|---|
Color |
getAlternateColor()
Sets the alternate color of an
IlvGeneralLink . |
float |
getAnimateSpeed()
Returns the animate speed of an
IlvGeneralLink . |
Color |
getArrowColor()
Returns the arrow color of an
IlvGeneralLink . |
int |
getArrowMode()
Returns the arrow drawing style of an
IlvGeneralLink . |
double |
getArrowPosition()
Returns the arrow position as the ratio of the link length of an
IlvGeneralLink . |
double |
getArrowRatio()
Returns the arrow size, as the proportion of the link length, of an
IlvGeneralLink . |
Color |
getBackground()
Returns the background color.
|
Color |
getBorderColor()
Returns the property denoting the primary color of a base border.
|
Color |
getBorderColor2()
Returns the property denoting the secondary color of a base border.
|
Color |
getBorderDownColor()
Deprecated.
Please use
getBorderColor2 instead |
int |
getBorderEndCap()
Sets the end cap style of the object border.
|
int |
getBorderLineJoin()
Returns the line join style of the object border.
|
float[] |
getBorderLineStyle()
Returns the property denoting the line style used to draw a base border.
|
float |
getBorderLineStylePhase()
Returns the dash phase of the object border.
|
double |
getBorderMiterLimit()
Returns the miter limit of the object border.
|
float[] |
getBorderStyle()
Deprecated.
Please use
getBorderLineStyle instead. |
float |
getBorderStylePhase()
Deprecated.
Please use
getBorderLineStylePhase instead. |
Color |
getBorderUpColor()
Deprecated.
Please use
getBorderColor instead. |
double |
getBorderWidth()
Returns the border width.
|
double |
getCurved()
Returns the curved look and the smoothness of the spline of an
IlvGeneralLink . |
int |
getEndCap()
Returns the decorations applied at the end of the polyline of an
IlvGeneralLink . |
float |
getFillAngle()
Returns the angle (in degrees) of the gradient used to fill the shape
of an object.
|
Color |
getFillColor2()
Deprecated.
Please use property
background instead. |
float |
getFillEnd()
Returns the position where the gradient of an object ends,
that is, where the color is the first color retrieved by
getBackground() . |
float |
getFillStart()
Returns the position where the gradient of an object starts,
that is, where the color is the first color retrieved by
getForeground() . |
int |
getFillStyle()
Returns the style used to fill the shape of an object.
|
Image |
getFillTexture()
Returns the fill texture used to fill the shape of an object when
property
fillStyle is set as IlFillStyle.TEXTURE . |
Color |
getFocusBorderColor()
Returns the color of the border of the object when it has focus.
|
int |
getFocusBorderWidth()
Returns the width of the focus border.
|
Color |
getForeground()
Returns the foreground color.
|
IlpGraphicRenderer |
getGraphicRenderer()
Deprecated.
The
graphicRenderer has been replaced by
properties class , children and
constraints . Please use class
property to define a new graphic representation for your
business object. Or use properties children and
constraints if you just want to add new
decorations to the predefined business objects. |
double |
getHorizontalAutoResizeMargin()
Returns the margin that is left on both sides
of the shape when it is autoresized horizontally.
|
int |
getHorizontalAutoResizeMode()
Returns the horizontal autoresize mode of an
IlvGeneralNode . |
Image |
getIcon()
Returns the image image that will be displayed as the icon in the
graphical representation of the object.
|
int |
getIconPosition()
Returns the position of the icon with respect to the label of an
IlvGeneralNode . |
IlpObjectInteractor |
getInteractor()
Returns the object interactor currently set in this representation object.
|
double |
getInternalZoom()
Returns the internal scale factor of an
IlvGeneralLink . |
String |
getLabel()
Returns the text used as a label.
|
int |
getLabelAlignment()
Returns the alignment of multiline labels.
|
Color |
getLabelBackground()
Returns the background color of the label text.
|
Font |
getLabelFont()
Returns the font that will be used to display the label.
|
Color |
getLabelForeground()
Returns the foreground color of the label text.
|
double |
getLabelMargin()
Sets the margin that will be kept between the labels and the edges
of the shape when performing word wrapping or label truncation.
|
int |
getLabelPosition()
Returns the position of the text of the label
relative to the icon.
|
double |
getLabelScaleFactor()
Returns the scale factor of the label, so that the label can
be adjusted independently of the size of the shape.
|
double |
getLabelSpacing()
Returns the spacing between the shape and the label.
|
boolean |
getLabelStrikethrough()
Returns
true if the text has strikethrough attribute. |
boolean |
getLabelUnderline()
Sets the underline attribute of the label.
|
double |
getLabelWrappingHeight()
Sets the label wrapping height.
|
short |
getLabelWrappingMode()
Returns the wrapping mode of the text.
|
double |
getLabelWrappingWidth()
Returns the label wrapping width.
|
int |
getLineJoin()
Returns the decoration applied when two segments are joined.
|
double |
getLineSpacing()
Returns the spacing between the lines of multi-line labels.
|
float[] |
getLineStyle()
Returns the array representing the lengths of the dash segments.
|
float |
getLineStylePhase()
Returns the dash pattern offset.
|
double |
getLineWidth()
Returns the line width.
|
int |
getLinkLabelAllowedSide()
Returns the sides allowed for the label placement when a label layout
is performed.
|
double |
getLinkLabelBottomOverlap()
Returns the number of pixels the
bottom side of the label can overlap the related obstacle when a
label layout is performed.
|
double |
getLinkLabelLeftOverlap()
Returns the number of pixels the left side of the label can overlap
the related obstacle when a label layout is performed.
|
double |
getLinkLabelMaxDistFromPath()
Returns the maximal distance allowed between the label and the path
when a label layout is performed.
|
float |
getLinkLabelMaxPercentageFromStart()
Returns the end point of the area of the polyline that
should be used for the label when a label layout is performed.
|
float |
getLinkLabelMinPercentageFromStart()
Returns the start point of the area of the polyline that
should be used for the label when a label layout is performed.
|
double |
getLinkLabelPreferredDistFromPath()
Returns the preferred distance between the label and the path
when a label layout is performed.
|
float |
getLinkLabelPreferredPercentageFromStart()
Returns the percentage relative to the length of the polyline that defines
the preferred position for the label.
|
int |
getLinkLabelPreferredSide()
Returns the preferred side where the label should be placed
when a label layout is performed.
|
double |
getLinkLabelRightOverlap()
Returns the number of pixels the
right side of the label can overlap the related obstacle when a
label layout is performed.
|
int |
getLinkLabelSideAssociation()
Returns an association between the preferred and the allowed side
for the label when a label layout is performed.
|
double |
getLinkLabelTopOverlap()
Returns the number of pixels the
top side of the label can overlap the related obstacle when a label layout is performed.
|
double |
getMaxLabelZoom()
Returns the zoom level above which the label becomes invisible.
|
double |
getMaxLineWidth()
Returns the maximum line width while zooming out.
|
double |
getMinLabelZoom()
Returns the zoom level below which the label becomes invisible.
|
double |
getMinLineWidth()
Returns the minimum line width while zooming out.
|
int |
getMode()
Returns the link drawing mode.
|
Image |
getOverlapIcon()
Returns the image that will be used to create the overlap icon.
|
int |
getQualityLevel()
Returns the quality of the rendering of the link.
|
IlpSelectionFocusMode |
getSelectionFocusMode()
Returns the selection highlight mode to be used when rendering the
selection and focus.
|
double |
getShapeAspectRatio()
Returns the aspect ratio of the shape of an
IlvGeneralNode . |
double |
getShapeHeight()
Returns the height of the shape.
|
int |
getShapeType()
Returns the shape of an
IlvGeneralNode . |
double |
getShapeWidth()
Returns the width of an off-page connector, a general
node, ports, LEDs or the width of the object in logical representation.
|
Color |
getStrokeColor()
Deprecated.
Please use
getBorderColor instead. |
Float[] |
getStrokeDashArray()
Deprecated.
Please use
getBorderLineStyle instead. |
float |
getStrokeDashPhase()
Deprecated.
Please use
getBorderLineStylePhase instead. |
int |
getStrokeEndCaps()
Deprecated.
Please use
getBorderEndCap instead. |
int |
getStrokeLineJoins()
Deprecated.
Please use
getBorderLineJoin instead. |
double |
getStrokeMiterLimit()
Deprecated.
Please use
getBorderMiterLimit instead. |
double |
getStrokeWidth()
Deprecated.
Please use
getBorderWidth instead. |
Color |
getSubnetworkBackground()
Returns the background color of a subnetwork.
|
double |
getSubnetworkBottomMargin()
Returns the bottom margin of the frame of a subnetwork.
|
Font |
getSubnetworkFont()
Returns the font used to draw the subnetwork title.
|
Color |
getSubnetworkForeground()
Returns the color of the frame around a subnetwork.
|
IlpObjectFrameType |
getSubnetworkFrame()
Returns the frame type of the subnetwork object.
|
double |
getSubnetworkLeftMargin()
Returns the left margin of the frame of a subnetwork.
|
double |
getSubnetworkMargin()
Deprecated.
This property is no longer being used. Please use properties
subnetworkTopMargin , subnetworkBottomMargin ,
subnetworkLeftMargin and subnetworkRightMargin instead. |
double |
getSubnetworkRightMargin()
Returns the right margin of the frame of a subnetwork.
|
String |
getSubnetworkTitle()
Returns the title of a subnetwork.
|
Color |
getSubnetworkTitleColor()
Returns the title color of a subnetwork.
|
int |
getSubnetworkTitleJustification()
Returns the title justification of a subnetwork.
|
double |
getSubnetworkTopMargin()
Returns the top margin of the frame of a subnetwork.
|
Color |
getToolTipBackground()
Returns the text tooltip background color.
|
Font |
getToolTipFont()
Returns the font used to create the text tooltip for an object.
|
Color |
getToolTipForeground()
Returns the text tooltip foreground color.
|
Object |
getToolTipGraphic()
Returns the tooltip graphic object.
|
IlpGraphicRenderer |
getToolTipRenderer()
Deprecated.
Please use property
toolTipGraphic instead. |
String |
getToolTipText()
Returns the text used as tooltip for an object.
|
double |
getVerticalAutoResizeMargin()
Returns the margin that is left on both sides
of the shape when it is autoresized vertically.
|
int |
getVerticalAutoResizeMode()
Returns the vertical autoresize mode of an
IlvGeneralNode . |
String |
getWave()
Returns the wavy outline for the link.
|
String |
getWordWrapChars()
Deprecated.
Property
wordWrapChars is no longer supported.
Word wrapping and truncate are now supported in all business
classes, but the lines are separated according to the behavior
defined in BreakIterator . |
double |
getWordWrapMargin()
Deprecated.
Please use
getLabelMargin instead. |
Boolean |
isIconVisible()
Returns whether the icon that is part of the graphic representation
of the object will be visible.
|
Boolean |
isKeepingAspectRatio()
Returns the flag that specifies whether the width/height
ratio is preserved by the properties
getShapeWidth()
and getShapeHeight() . |
Boolean |
isLabelAntialiasing()
Returns whether the anti-aliasing mode of the label is set.
|
Boolean |
isLabelVisible()
Returns whether the label should be visible or not in the
graphical representation of the object.
|
Boolean |
isLabelZoomable()
Deprecated.
Labels are now zoomable according to the zoom policy
defined in the Network and Equipment components.
|
boolean |
isMovable()
Returns whether the object can be moved or not through interactions.
|
Boolean |
isOriented()
Returns whether the link is oriented or nonoriented.
|
Boolean |
isOverlapIconVisible()
Returns whether the overlap icon will be displayed.
|
Boolean |
isSubnetworkCollapseIconVisible()
Returns whether the collapse icon is added to the detail
objects of a subnetwork.
|
Boolean |
isSubnetworkExpansionIconVisible()
Returns whether the in-place expansion icon is added to the overview
object of a subnetwork.
|
Boolean |
isSubnetworkOpaque()
Returns whether the subnetwork is opaque.
|
Boolean |
isSubnetworkShowingTitle()
Returns whether the subnetwork shows the title.
|
Boolean |
isWordWrapMode()
Deprecated.
Please use
getLabelWrappingMode instead. JTGO
provides now support for word-wrapping and truncate for all
business objects. |
boolean isMovable()
This property is only available in the network and equipment components.
Boolean isLabelVisible()
Default value: true
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.LabelVisible
String getLabel()
Default value: none
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.LabelString
Font getLabelFont()
Default value: none
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.LabelFont
Color getLabelForeground()
Default value: none
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
Color getLabelBackground()
Default value: none
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
int getLabelPosition()
IlvDirection.Bottom
IlvDirection.BottomLeft
IlvDirection.BottomRight
IlvDirection.Center
IlvDirection.Horizontal
IlvDirection.HorizontalCenter
IlvDirection.Left
IlvDirection.Right
IlvDirection.Top
IlvDirection.TopLeft
IlvDirection.TopRight
IlvDirection.Vertical
IlvDirection.VerticalCenter
Default value: IlvDirection.Bottom
for the
Network/Equipment components and IlvDirection.Right
to
the Tree component.
IlpObjectKeys.LabelPosition
Boolean isLabelAntialiasing()
Default value: true
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.LabelAntialiasing
double getLabelSpacing()
Default value: 2.0
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.LabelSpacing
short getLabelWrappingMode()
The default value is IlvText.WRAP_NONE
for the
Network, Equipment and Tree components. This value is not used
by the Table component.
IlvText.WRAP_NONE
: the text is displayed as-is.
IlvText.WRAP_WORD
: the text is automatically broke into
lines using a line instance java.text.BreakIterator
which will break
the text when appropriate to best fit getLabelWrappingWidth()
width.
For example in latin languages this will break the text at white spaces.
To prevent the text from being broken at a particular white space you should use
the Unicode non-breaking white space ('Â '
).
IlvText.WRAP_TRUNCATE
: the text is automatically truncated
such that it fits getLabelWrappingHeight()
height and getLabelWrappingWidth()
.
An ellipsis is added at the end of the truncated line.
double getLabelWrappingWidth()
getLabelWrappingMode()
is set to
perform word-wrapping or truncation.
If this value is set to -1, the wrapping width will be automatically set as the width of the object base.
double getLabelWrappingHeight()
getLabelWrappingMode()
is set to
perform word-wrapping or truncation.
If this value is set to -1, the wrapping height will be automatically set as the height of the object base.
double getLabelMargin()
This property is used when the label wrapping height and width are automatically defined according to the object base.
Default value: 5
.
getLabelWrappingWidth()
,
getLabelWrappingHeight()
int getLabelAlignment()
Setting this value to 0
, resets the alignment to
the default configuration.
This property is used in the Network and Equipment components.
Default value: Depends on the label position around the
object base. If position is Bottom or Top, default
alignment is IlvDirection.Center
. If
position is Left, alignment is IlvDirection.Right
.
If position is Right, alignment is IlvDirection.Left
.
IlpObjectKeys.LabelAlignment
double getLineSpacing()
Default value: -1
IlpObjectKeys.LineSpacing
double getLabelScaleFactor()
Default value: 1
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.LabelScaleFactor
double getMinLabelZoom()
Default value: 1
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.MinLabelZoom
double getMaxLabelZoom()
Default value: 500
IlpObjectKeys.MaxLabelZoom
boolean getLabelStrikethrough()
true
if the text has strikethrough attribute.boolean getLabelUnderline()
Boolean isIconVisible()
Note: This property is valid for user-defined business objects that are represented in the Tree, Network or Equipment components. This property is also used by the group predefined business objects when displayed in the Network component.
Default value: true
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.IconVisible
Image getIcon()
Note: This property is valid for user-defined business objects that are represented in the Tree, Network or Equipment components. This property is also used by the group predefined business objects when displayed in the Network component.
Default value: none
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.Icon
Boolean isOverlapIconVisible()
Default value: true
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.OverlapIconVisible
Image getOverlapIcon()
Default value: none
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.OverlapIcon
String getToolTipText()
Default value: none
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.ToolTipString
Font getToolTipFont()
Default value: null
, meaning that the
default tooltip font in the system is used.
getToolTipText()
Color getToolTipForeground()
Default value: null
, meaning that the
default tooltip foreground color in the system is used.
Color getToolTipBackground()
Default value: null
, meaning that the
default tooltip background color in the system is used.
Object getToolTipGraphic()
The tooltip graphic can be created using CSS as a
JComponent
or an IlvGraphic
instance.
This property has precedence over the tooltip text property.
Default value: none
getToolTipText()
,
JComponent
,
IlvGraphic
Color getForeground()
Default value: none
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
IlpObjectKeys.ForegroundColor
Color getBackground()
Default value: node
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
IlpObjectKeys.BackgroundColor
Color getFocusBorderColor()
How the focus border is drawn depends on the selection focus mode.
Default value: node
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
int getFocusBorderWidth()
Default value: 1
Setting this property to -1
, resets its value to
the default one.
IlpSelectionFocusMode getSelectionFocusMode()
IlpSelectionFocusMode
for valid values.
Default value:
IlpSelectionFocusMode.BASE_SELECTION_FOCUS_MODE
IlpSelectionFocusMode.CELL_SELECTION_FOCUS_MODE
IlpSelectionFocusMode.LABEL_SELECTION_FOCUS_MODE
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.SelectionFocusMode
double getBorderWidth()
This property is used to define the border width for custom and predefined business objects.
Default value: 2
for custom nodes and
0
for the other objects.
Setting this property to -1
, resets its value to
the default one.
Color getBorderColor()
This property is used to define the primary border color for custom and predefined business objects.
Setting this property to null
resets its value to the
default one.
Color getBorderColor2()
This property is used to define the primary border color for custom and predefined business objects.
Setting this property to null
resets its value to the
default one.
float[] getBorderLineStyle()
This property is mapped.
Setting this property to null
resets its value to the
default one.
float getBorderLineStylePhase()
The value is a float
that
specifies the offset from the beginning of the
stroke where the dash array pattern will start.
Default value: 0
Setting this property to -1
, resets its value to
the default one.
int getBorderEndCap()
borderEndCap
are:
Default value: BasicStroke.CAP_BUTT
int getBorderLineJoin()
The line join style controls how the "angles" of the stroke will look.
The line style must be one of:
Default value: BasicStroke.JOIN_MITER
.
double getBorderMiterLimit()
The miter limit controls how far the "angles" of the stroke are allowed to extend when the angle is very acute.
Default value: 10
Setting this property to -1
, resets its value to
the default one.
Color getAlternateColor()
IlvGeneralLink
.
Default value: none
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
float getAnimateSpeed()
IlvGeneralLink
.
Default value: none
Setting this property to -1
, resets its value to
the default one.
Color getArrowColor()
IlvGeneralLink
.
Default value: Color.black
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
int getArrowMode()
IlvGeneralLink
.
Default value: IlvGeneralLink.ARROW_FILL
.
double getArrowPosition()
IlvGeneralLink
.
The default position is at the end of the link (value: 1
).
Default value: 1
Setting this property to -1
, resets its value to
the default one.
double getArrowRatio()
IlvGeneralLink
.
Default value: 1
Setting this property to -1
, resets its value to
the default one.
double getCurved()
IlvGeneralLink
.
Default value: 0
Setting this property to -1
, resets its value to
the default one.
int getEndCap()
IlvGeneralLink
.
Valid values are:
Default value: IlvStroke.CAP_SQUARE
.
double getInternalZoom()
IlvGeneralLink
.
Default value: 1
.
Setting this property to -1
, resets its value to
the default one.
int getLineJoin()
Default value: IlvStroke.JOIN_MITER
.
float[] getLineStyle()
Default value: none
Setting this property to null
, resets its value to
the default one.
float getLineStylePhase()
Default value: 0
Setting this property to -1
, resets its value to
the default one.
double getLineWidth()
This property is used for links and linear groups
Default value: 5
Setting this property to -1
, resets its value to
the default one.
double getMinLineWidth()
Note: This property is only used by the network and equipment components when rendering user-defined business objects as links.
Default value: 0
double getMaxLineWidth()
Note: This property is only used by the network and equipment components when rendering user-defined business objects as links.
Default value: 0
IlvSimpleLink.setMaximumLineWidth(double)
int getMode()
IlvGeneralLink.MODE_NEON
.
Valid values for IlpObject.Mode
are:IlvGeneralLink.MODE_TEXTURE
IlvGeneralLink.MODE_UNICOLOR
IlvGeneralLink.MODE_GRADIENT
IlvGeneralLink.MODE_NEON
Default value: IlvGeneralLink.MODE_GRADIENT
.
IlpObjectKeys.Mode
,
IlvGeneralLink.setMode(int)
int getQualityLevel()
Default value: 3
Boolean isOriented()
Default value: false
Setting this property to null
, resets its value to
the default one.
String getWave()
int
representing the amplitude of the
wave in pixels and "p" is an int
representing the period (length)
of the wave in pixels.
Default value: 0/0
Setting this property to null
, resets its value to
the default one.
int getIconPosition()
IlvGeneralNode
.
This property is effective only if the label position is equal to
IlvDirection.Center
, that is, if the label is inside the shape.
If the label is outside the shape, the icon will always be
at the center of the shape.
The value is one of the static fields of the IlvDirection
interface.
Default value: IlvDirection.Bottom
int getShapeType()
IlvGeneralNode
.
Default value: IlvGeneralNode.ROUND_RECTANGLE
Setting this property to -1
, resets its value to
the default one.
double getShapeWidth()
Default value: 40
Setting this property to -1
, resets its value to
the default one.
double getShapeHeight()
Default value: 40
Setting this property to -1
, resets its value to
the default one.
double getShapeAspectRatio()
IlvGeneralNode
.
Default value: 0
Setting this property to -1
, resets its value to
the default one.
int getHorizontalAutoResizeMode()
IlvGeneralNode
.
Valid values are:
IlvGeneralNode.NO_AUTO_RESIZE
IlvGeneralNode.EXPAND_ONLY
IlvGeneralNode.SHRINK_ONLY
IlvGeneralNode.EXPAND_OR_SHRINK
Default value: IlvGeneralNode.NO_AUTO_RESIZE
double getHorizontalAutoResizeMargin()
Default value: 2
Setting this property to -1
, resets its value to
the default one.
int getVerticalAutoResizeMode()
IlvGeneralNode
.
Valid values are:IlvGeneralNode.NO_AUTO_RESIZE
IlvGeneralNode.EXPAND_ONLY
IlvGeneralNode.SHRINK_ONLY
IlvGeneralNode.EXPAND_OR_SHRINK
Default value: IlvGeneralNode.NO_AUTO_RESIZE
double getVerticalAutoResizeMargin()
Default value: 2
Setting this property to -1
, resets its value to
the default one.
int getFillStyle()
Valid values are:
IlFillStyle.NO_FILL
IlFillStyle.SOLID_COLOR
IlFillStyle.LINEAR_GRADIENT
IlFillStyle.RADIAL_GRADIENT
IlFillStyle.TEXTURE
IlFillStyle.PATTERN
Default value: IlFillStyle.SOLID_COLOR
for custom
business objects and patterns for predefined business objects. Please
note that custom business objects do not support IlFillStyle.PATTERN
,
instead textures can be used.
IlpObjectKeys.FillStyle
,
IlFillStyle
Image getFillTexture()
fillStyle
is set as IlFillStyle.TEXTURE
.
Default value: none
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.FillTexture
float getFillStart()
getForeground()
.
Default value: 0
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.FillStart
float getFillEnd()
getBackground()
.
Default value: 1
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.FillEnd
float getFillAngle()
Default value: 0
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.FillAngle
Boolean isKeepingAspectRatio()
getShapeWidth()
and getShapeHeight()
. If the flag is true
,
the dimensions of the shape are controlled by properties
either shapeWidth
or shapeHeight
and
by setting shapeAspectRatio
.
Note that setting property shapeHeight
explicitly sets
the "keep aspect ratio" flag automatically to false
,
and that setting property shapeAspectRatio
automatically
sets the flag to true
.
If true
, the properties shapeWidth
and shapeHeight
will preserve the width/height ratio of the node shape. Otherwise,
the width and the height can be set independently.
Default value: true
Setting this property to null
, resets its value to
the default one.
IlpObjectFrameType getSubnetworkFrame()
Default value: IlpObjectFrameType.FILLED_RECTANGLE_FRAME
Setting this property to null
, resets its value to
the default one.
IlpObjectFrameType
,
IlpObjectKeys.SubnetworkFrame
Color getSubnetworkBackground()
Default value: none
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
IlpObjectKeys.SubnetworkBackgroundColor
Color getSubnetworkForeground()
Default value: none
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
Font getSubnetworkFont()
Default value: Dialog, plain, 12pt
Setting this property to null
, resets its value to
the default one.
IlpObjectFrameType.TITLEBAR_FRAME
Boolean isSubnetworkOpaque()
Default value: false
Setting this property to null
, resets its value to
the default one.
Boolean isSubnetworkShowingTitle()
Default value: true
Setting this property to null
, resets its value to
the default one.
Color getSubnetworkTitleColor()
Default value: none
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
String getSubnetworkTitle()
Default value: none
Setting this property to null
, resets its value to
the default one.
int getSubnetworkTitleJustification()
Valid values for horizontal justification are :
Valid values for vertical alignment are :
andIlvDefaultManagerFrame.WRAPPED
to
wrap the subnetwork title.
Examples: Left|Bottom, Center|Bottom|Wrapped
Default value: IlvDefaultManagerFrame.LEFT
,
IlvDefaultManagerFrame.TOP
and
IlvDefaultManagerFrame.WRAPPED
and
double getSubnetworkLeftMargin()
Default value: 5
Setting this property to -1
, resets its value to
the default one.
double getSubnetworkRightMargin()
Default value: 5
Setting this property to -1
, resets its value to
the default one.
double getSubnetworkBottomMargin()
Default value: 5
Setting this property to -1
, resets its value to
the default one.
double getSubnetworkTopMargin()
Default value: 5
Setting this property to -1
, resets its value to
the default one.
Boolean isSubnetworkExpansionIconVisible()
Default value: true
Setting this property to null
, resets its value to
the default one.
Boolean isSubnetworkCollapseIconVisible()
Default value: true
Setting this property to null
, resets its value to
the default one.
float getLinkLabelMinPercentageFromStart()
Default value: 0
Setting this property to -1
, resets its value to
the default one.
float getLinkLabelMaxPercentageFromStart()
Default value: 100
Setting this property to -1
, resets its value to
the default one.
float getLinkLabelPreferredPercentageFromStart()
Default value: 50
IlvAnnealingPolylineLabelDescriptor
double getLinkLabelMaxDistFromPath()
Default value: 10
Setting this property to -1
, resets its value to
the default one.
double getLinkLabelPreferredDistFromPath()
Default value: 0
Setting this property to -1
, resets its value to
the default one.
int getLinkLabelPreferredSide()
getLinkLabelSideAssociation()
.
If the side association is IlvAnnealingPolylineLabelDescriptor.LOCAL
,
the following options can be used to specify the allowed and preferred sides:
IlvDirection.Left
- left side in polyline flow direction.
IlvDirection.Right
- right side in polyline flow direction.
IlvAnnealingPolylineLabelDescriptor.GLOBAL
,
the following options can be used to specify the allowed and preferred sides:
IlvDirection.Left
- left side.
IlvDirection.Right
- right side.
IlvDirection.Top
- top side.
IlvDirection.Bottom
- bottom side.
IlvDirection.TopLeft
- top side or left side.
IlvDirection.TopRight
- top side or right side.
IlvDirection.BottomLeft
- bottom side or left side.
IlvDirection.BottomRight
- bottom side or right side.
IlvDirection.Bottom
int getLinkLabelAllowedSide()
getLinkLabelSideAssociation()
.
If the side association is IlvAnnealingPolylineLabelDescriptor.LOCAL
,
the following options can be used to specify the allowed and preferred sides:
IlvDirection.Left
- left side in polyline flow direction.
IlvDirection.Right
- right side in polyline flow direction.
IlvAnnealingPolylineLabelDescriptor.GLOBAL
,
the following options can be used to specify the allowed and preferred sides:
IlvDirection.Left
- left side.
IlvDirection.Right
- right side.
IlvDirection.Top
- top side.
IlvDirection.Bottom
- bottom side.
IlvDirection.TopLeft
- top side or left side.
IlvDirection.TopRight
- top side or right side.
IlvDirection.BottomLeft
- bottom side or left side.
IlvDirection.BottomRight
- bottom side or right side.
0
.int getLinkLabelSideAssociation()
IlvAnnealingPolylineLabelDescriptor.GLOBAL
double getLinkLabelTopOverlap()
Default value: 0
.
Setting this property to -1
, resets its value to
the default one.
double getLinkLabelBottomOverlap()
Default value: 0
.
Setting this property to -1
, resets its value to
the default one.
double getLinkLabelLeftOverlap()
Default value: 0
.
Setting this property to -1
, resets its value to
the default one.
double getLinkLabelRightOverlap()
Default value: 0
.
Setting this property to -1
, resets its value to
the default one.
IlpObjectInteractor getInteractor()
Default value: none
IlpObjectInteractor
@Deprecated double getWordWrapMargin()
getLabelMargin
instead.IlvGeneralNode
.
Default value: 5
.
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.WordWrapMargin
,
IlvGeneralNode.setWordWrapMargin(double)
@Deprecated Boolean isWordWrapMode()
getLabelWrappingMode
instead. JTGO
provides now support for word-wrapping and truncate for all
business objects.IlvGeneralNode
.
If word wrap is on, the node will attempt to convert
the label of the node to multiple lines (by inserting
'\n'
characters), so that each line fits
in the width of the shape. Word wrapping will only occur
at space characters between words of the label.
Default value: false
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.WordWrapMode
,
IlvGeneralNode.setWordWrapMode(boolean)
@Deprecated String getWordWrapChars()
wordWrapChars
is no longer supported.
Word wrapping and truncate are now supported in all business
classes, but the lines are separated according to the behavior
defined in BreakIterator
." \t_-,;"
. Space (' '
) characters
are removed when word wrapping is performed, whereas
the other characters are preserved.
Default value: " \t_-,;"
.
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.WordWrapChars
,
IlvGeneralNode.setWordWrapChars(java.lang.String)
@Deprecated double getSubnetworkMargin()
subnetworkTopMargin
, subnetworkBottomMargin
,
subnetworkLeftMargin
and subnetworkRightMargin
instead.Default value: 10
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.SubnetworkMargin
,
IlpObjectFrameType.FILLED_RECTANGLE_FRAME
@Deprecated Color getFillColor2()
background
instead.IlvGeneralNode
.
Default value: none
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
IlpObjectKeys.FillColor2
,
IlvGeneralNode.setFillColor2(java.awt.Color)
@Deprecated Color getBorderUpColor()
getBorderColor
instead.IlvGeneralLink
.
Default value: Color.white
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
IlpObjectKeys.BorderUpColor
,
IlvGeneralLink.setBorderUpColor(java.awt.Color)
@Deprecated Color getBorderDownColor()
getBorderColor2
insteadIlvGeneralLink
.
Default value: none
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
IlpObjectKeys.BorderDownColor
,
IlvGeneralLink.setBorderDownColor(java.awt.Color)
@Deprecated float[] getBorderStyle()
getBorderLineStyle
instead.IlvGeneralLink
.
Default value: none
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.BorderStyle
,
IlvGeneralLink.setBorderStyle(float[])
@Deprecated float getBorderStylePhase()
getBorderLineStylePhase
instead.IlvGeneralLink
.
Default value: 0
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.BorderStylePhase
,
IlvGeneralLink.setBorderStylePhase(float)
@Deprecated Color getStrokeColor()
getBorderColor
instead.IlvGeneralNode
.
Default value: none
Setting this property to null
, resets its value to
the default one.
Note: Blinking colors are not supported.
IlvGeneralNode.setStrokeColor(java.awt.Color)
@Deprecated double getStrokeWidth()
getBorderWidth
instead.IlvGeneralNode
.
The border is hidden when this property is set to -1
.
Default value: 1
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.StrokeWidth
,
IlvGeneralNode.setStrokeWidth(double)
@Deprecated int getStrokeEndCaps()
getBorderEndCap
instead.The end cap style controls how the ends of the segments of the stroke will look when the stroke is dashed.
Valid values for borderEndCap
are:
Default value: BasicStroke.CAP_BUTT
IlpObjectKeys.StrokeEndCaps
,
IlvGeneralNode.setStrokeEndCaps(int)
@Deprecated int getStrokeLineJoins()
getBorderLineJoin
instead.The line style must be one of:
Default value: BasicStroke.JOIN_MITER
.
IlpObjectKeys.StrokeLineJoins
,
IlvGeneralNode.setStrokeLineJoins(int)
@Deprecated double getStrokeMiterLimit()
getBorderMiterLimit
instead.Default value: 10
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.StrokeMiterLimit
,
IlvGeneralNode.setStrokeMiterLimit(float)
@Deprecated Float[] getStrokeDashArray()
getBorderLineStyle
instead.4,8
will create a dashed border with segments 4 pixels
long, separated by empty spaces of 8 pixels.
The dash array can contain more than two values to create
longer dash patterns.
The value is an array of float
values that
define the lengths in pixels of the visible and transparent
segments. If this parameter is null
, the stroke
will be continuous (not dashed).
Default value: none
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.StrokeDashArray
,
IlvGeneralNode.setStrokeDashArray(float[])
@Deprecated IlpGraphicRenderer getToolTipRenderer()
toolTipGraphic
instead.This property has precedence over the tooltip text property.
Default value: none
getToolTipText()
,
IlpObjectKeys.ToolTipRenderer
@Deprecated float getStrokeDashPhase()
getBorderLineStylePhase
instead.float
that
specifies the offset from the beginning of the
stroke where the dash array pattern will start.
Default value: 0
Setting this property to -1
, resets its value to
the default one.
IlpObjectKeys.StrokeDashPhase
,
IlvGeneralNode.setStrokeDashPhase(float)
@Deprecated IlpGraphicRenderer getGraphicRenderer()
graphicRenderer
has been replaced by
properties class
, children
and
constraints
. Please use class
property to define a new graphic representation for your
business object. Or use properties children
and
constraints
if you just want to add new
decorations to the predefined business objects.Default value: none.
IlpObjectKeys.GraphicRenderer
,
IlpGraphicRenderer
@Deprecated Boolean isLabelZoomable()
Default value: true
Setting this property to null
, resets its value to
the default one.
IlpObjectKeys.LabelZoomable
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.