public class IltTinyBaseRenderer extends IltBaseRenderer
Tiny objects represent telecom objects as a reduced version of their symbolic representation.
Modifier and Type | Class and Description |
---|---|
static class |
IltTinyBaseRenderer.Graphic
The tiny base renderer that is displayed using an
IlvGraphic object. |
Modifier and Type | Field and Description |
---|---|
static int |
defaultSizeHeight
Default tiny height
|
static int |
defaultSizeWidth
Default tiny width
|
static IltTinyBaseRenderer |
INVISIBLE_BASE_RENDERER |
Modifier | Constructor and Description |
---|---|
|
IltTinyBaseRenderer()
Creates an
IltTinyBaseRenderer . |
protected |
IltTinyBaseRenderer(ilog.tgo.graphic.renderer.internal.IltBaseRendererState state)
For compatibility purposes, internal use only !
|
|
IltTinyBaseRenderer(int width,
int height)
Creates an
IltTinyBaseRenderer , specifying the preferred size. |
Modifier and Type | Method and Description |
---|---|
protected ilog.tgo.graphic.renderer.internal.IltBaseRendererState |
createBaseRendererState()
Resets the properties.
|
protected void |
drawMain(Graphics g,
IlvTransformer t,
IlvRect rect)
Draws the rectangular base for tiny elements.
|
double |
getHeight()
Sets the preferred height for the tiny representation.
|
Dimension |
getPreferredSize()
Returns the preferred size for the tiny representation.
|
double |
getWidth()
Sets the preferred width for the tiny representation.
|
protected boolean |
isExtraBorderOutside()
Indicates whether the extra borders should be drawn inside or outside
the
rect used to call drawExtraBorders . |
void |
setHeight(double height)
Sets the preferred height for the tiny representation.
|
void |
setPreferredSize(Dimension d)
Sets the preferred size for the tiny representation.
|
void |
setWidth(double width)
Sets the preferred width for the tiny 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 IltTinyBaseRenderer INVISIBLE_BASE_RENDERER
public IltTinyBaseRenderer()
IltTinyBaseRenderer
.public IltTinyBaseRenderer(int width, int height)
IltTinyBaseRenderer
, specifying the preferred size.width
- Preferred base width.height
- Preferred base height.protected IltTinyBaseRenderer(ilog.tgo.graphic.renderer.internal.IltBaseRendererState state)
For compatibility purposes, internal use only !
protected ilog.tgo.graphic.renderer.internal.IltBaseRendererState createBaseRendererState()
createBaseRendererState
in class IltBaseRenderer
public Dimension getPreferredSize()
public void setPreferredSize(Dimension d)
public void setWidth(double width)
public double getWidth()
public void setHeight(double height)
public double getHeight()
protected boolean isExtraBorderOutside()
rect
used to call drawExtraBorders
.
isExtraBorderOutside
in class IltBaseRenderer
true
as borders are generally drawn outside.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.