public static class IltOPCBaseRenderer.Clover extends IltOPCBaseRenderer
It is used by the following OPC types:
Unmanaged
SingleUnmanaged
MultipleUnmanaged
This renderer has the following properties that are defined for the object using cascading style sheets:
IltOPCBaseRenderer.Clover, IltOPCBaseRenderer.Diamond, IltOPCBaseRenderer.Graphic, IltOPCBaseRenderer.Managed, IltOPCBaseRenderer.MultipleManaged, IltOPCBaseRenderer.MultipleUnmanaged, IltOPCBaseRenderer.SingleManaged, IltOPCBaseRenderer.SingleUnmanaged, IltOPCBaseRenderer.Standard, IltOPCBaseRenderer.Unmanaged
Constructor and Description |
---|
Clover() |
Modifier and Type | Method and Description |
---|---|
protected void |
drawExtraBorder(Graphics g,
IlvTransformer t,
IlvRect rect,
IltPalette palette,
int distance,
int width)
Draws an extra border inside or outside the base depending
on the value returned by
isExtraBorderOutside() . |
void |
drawMain(Graphics g,
IlvTransformer t,
IlvRect rect)
Draws the main part of the base.
|
int |
getReliefThickness()
Returns the thickness of the relief shape displayed in the middle of
the base.
|
protected void |
initBaseRenderer()
Initializes the properties of this base renderer.
|
boolean |
isDepressed()
Returns if the Off-Page connector representation should
be displayed as depressed.
|
void |
setDepressed(boolean v)
Sets if the Off-Page connector representation should be displayed
as depressed.
|
void |
setReliefThickness(int v)
Sets the thickness of the relief shape displayed in the middle of
the base.
|
createBaseRendererState, getPreferredSize, isExtraBorderOutside, setPreferredSize
__isDottedBorderVisible, attach, boundingBox, boundingBoxWithTransformer, contains, containsExtraBorders, containsMain, draw, drawAlarmBorder, 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, 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
protected void initBaseRenderer()
IltBaseRenderer
initBaseRenderer
in class IltBaseRenderer
public void setDepressed(boolean v)
public boolean isDepressed()
public void setReliefThickness(int v)
v
- thicknesspublic int getReliefThickness()
protected void drawExtraBorder(Graphics g, IlvTransformer t, IlvRect rect, IltPalette palette, int distance, int width)
IltBaseRenderer
isExtraBorderOutside()
.
This method is called by drawExtraBorders
for each border that
needs to be drawn (selection, alarm and dotted borders).
The shape of the drawn borders is a rectangle if the dotted border
is visible OR if getExtraBorders
returns null
.
If the dotted border is invisible AND getExtraBorders
returns a non-null array of IltPolygon
,
then these polygons are used as shapes for the borders.
drawExtraBorder
in class IltBaseRenderer
g
- As in draw
t
- As in draw
rect
- As in draw
palette
- The palette with the border colorsdistance
- The distance from the main part (not including width)width
- The width of the borderIltBaseRenderer.getExtraBorders(ilog.views.IlvRect)
,
IltBaseRenderer.isExtraBorderOutside()
,
IltBaseRenderer.isDottedBorderVisible()
public void drawMain(Graphics g, IlvTransformer t, IlvRect rect)
IltBaseRenderer
drawMain
in class IltBaseRenderer
g
- As in draw
.t
- As in draw
.rect
- As in draw
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.