public class IltLogicalBaseRenderer extends IltBaseRenderer
IltObject
,
IltSettings
Modifier and Type | Class and Description |
---|---|
static class |
IltLogicalBaseRenderer.Graphic
The logical base renderer that is displayed using an
IlvGraphic object. |
Modifier and Type | Field and Description |
---|---|
static int |
defaultSizeHeight
Default height
|
static int |
defaultSizeWidth
Default width
|
static IltLogicalBaseRenderer |
INVISIBLE_BASE_RENDERER |
Modifier | Constructor and Description |
---|---|
|
IltLogicalBaseRenderer()
Default constructor.
|
protected |
IltLogicalBaseRenderer(ilog.tgo.graphic.renderer.internal.IltBaseRendererState state)
For compatibility purposes, internal use only !
|
|
IltLogicalBaseRenderer(int width,
int height)
Constructor of logical base renderers, that defines the dimension of the
logical representation.
|
Modifier and Type | Method and Description |
---|---|
protected ilog.tgo.graphic.renderer.internal.IltBaseRendererState |
createBaseRendererState()
Creates the instance that stores all the base renderer
configuration.
|
protected void |
drawMain(Graphics g,
IlvTransformer t,
IlvRect rect)
Draws the rectangular base for tiny elements.
|
IltLineSpec |
getLineSpec()
Returns the line specification which is displayed in the
left side of the logical drawing.
|
Dimension |
getPreferredSize()
Returns the preferred size for the logical representation.
|
protected boolean |
isExtraBorderOutside()
Indicates whether the extra borders should be drawn inside or outside
the
rect that is used to call drawExtraBorders . |
void |
setHeight(double height)
Sets the preferred height for the logical representation.
|
void |
setIconHeight(double height)
Sets the height of the icon that is displayed in the left
side of the logical drawing.
|
void |
setIconWidth(double width)
Sets the width of the icon that is displayed in the left
side of the logical drawing.
|
void |
setLineSpec(IltLineSpec spec)
Sets a line specification to be displayed in the left side of the
logical drawing.
|
void |
setPreferredSize(Dimension d)
Sets the preferred size for the logical representation.
|
void |
setWidth(double width)
Sets the preferred width for the logical representation.
|
__isDottedBorderVisible, attach, boundingBox, boundingBoxWithTransformer, contains, containsExtraBorders, containsMain, draw, drawAlarmBorder, drawExtraBorder, drawExtraBorder, drawExtraBorders, drawSelectionBorder, dropResources, getAlarmBorderColor, getAlarmBorderWidth, getAlarmColorLevel, getBackground, getBaseRenderer, getBaseRendererState, getBorderColor, getBorderColor2, getBorderLineStyle, getBorderPalette, getBorderPattern, getBorderWidth, getBrightPalette, getDarkPalette, getDeprecatedBlinkingMode, getDetailLevel, getDottedBorderBackground, getDottedBorderForeground, getDottedBorderLineStyle, getDottedBorderPalette, getExtraBorders, getFillAngle, getFillEnd, getFillStart, getFillStyle, getFillTexture, getForeground, getPalette, getPattern, getRepresentationObject, getSelectionBorderBackground, getSelectionBorderForeground, getSelectionBorderLineStyle, getSelectionBorderWidth, getSourceImage, getView, initBaseRenderer, initResources, isAlarmBorderVisible, isAlarmColorVisible, isBaseSelectionBorderVisible, isDottedBorderVisible, isPolygonalBorder, isReliefBorders, isUsingBlinkingResources, setAlarmBorderColor, setAlarmBorderVisible, setAlarmBorderWidth, setAlarmColorLevel, setAlarmColorVisible, setBackground, setBaseRendererState, setBaseSelectionBorderVisible, setBorderColor, setBorderColor2, setBorderLineStyle, setBorderPattern, setBorderWidth, setDeprecatedBlinkingMode, setDetailLevel, setDottedBorderBackground, setDottedBorderForeground, setDottedBorderLineStyle, setDottedBorderVisible, setFillAngle, setFillEnd, setFillStart, setFillStyle, setFillTexture, setForeground, setPattern, setPolygonalBorder, setReliefBorders, setRepresentationObject, setSelectionBorderBackground, setSelectionBorderForeground, setSelectionBorderLineStyle, setSelectionBorderWidth, setSourceImage, setView
public static int defaultSizeWidth
public static int defaultSizeHeight
public static final IltLogicalBaseRenderer INVISIBLE_BASE_RENDERER
public IltLogicalBaseRenderer()
public IltLogicalBaseRenderer(int width, int height)
width
- Width of the rectangle that represents the object.height
- Height of the rectangle that represents the object.protected IltLogicalBaseRenderer(ilog.tgo.graphic.renderer.internal.IltBaseRendererState state)
For compatibility purposes, internal use only !
protected ilog.tgo.graphic.renderer.internal.IltBaseRendererState createBaseRendererState()
IltBaseRenderer
createBaseRendererState
in class IltBaseRenderer
public Dimension getPreferredSize()
public void setPreferredSize(Dimension d)
public void setWidth(double width)
public void setHeight(double height)
public void setIconWidth(double width)
public void setIconHeight(double height)
public IltLineSpec getLineSpec()
public void setLineSpec(IltLineSpec spec)
protected boolean isExtraBorderOutside()
rect
that is used to call drawExtraBorders
.
This implementation returns true
, as the borders of
network elements should be drawn outside.
isExtraBorderOutside
in class IltBaseRenderer
protected void drawMain(Graphics g, IlvTransformer t, IlvRect rect)
drawMain
in class IltBaseRenderer
g
- As in draw
.t
- As in draw
.rect
- As in draw
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.