protected static class IltPortDirectImageBaseRendererFactory.BaseRenderer extends IltPortBaseRenderer
image
(sepecified in css for each baseStyle
)
according to alarms of the object that is represented.IltPortBaseRenderer.Graphic
Constructor and Description |
---|
BaseRenderer()
Creates a new Port auto image
BaseRenderer . |
Modifier and Type | Method and Description |
---|---|
void |
attach(IlvGraphic base)
This method is invoked to indicate to the base renderer which
IlvGraphic
it is used by. |
void |
drawMain(Graphics g,
IlvTransformer t,
IlvRect rect)
Draws the main part of the base.
|
protected IltPolygon[] |
getExtraBorders(IlvRect rect)
Returns the borders of the image or
null , depending on the value
returned by IltBaseRenderer.isPolygonalBorder() . |
Dimension |
getPreferredSize()
Returns the preferred size for the tiny representation.
|
void |
initResources()
Initializes resources.
|
createBaseRendererState, getDirection, isExtraBorderOutside, setDirection, setPreferredSize
__isDottedBorderVisible, 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, getFillAngle, getFillEnd, getFillStart, getFillStyle, getFillTexture, getForeground, getPalette, getPattern, getRepresentationObject, getSelectionBorderBackground, getSelectionBorderForeground, getSelectionBorderLineStyle, getSelectionBorderWidth, getSourceImage, getView, initBaseRenderer, 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 void initResources()
initResources
in class IltBaseRenderer
public void drawMain(Graphics g, IlvTransformer t, IlvRect rect)
drawMain
in class IltBaseRenderer
g
- As in draw
.t
- As in draw
.rect
- As in draw
.public void attach(IlvGraphic base)
IltBaseRenderer
IlvGraphic
it is used by. The default implementation of this method does nothing.
Any subclass of the base renderer that needs the IlvGraphic
may use the one
given when this method is invoked.attach
in class IltBaseRenderer
protected IltPolygon[] getExtraBorders(IlvRect rect)
null
, depending on the value
returned by IltBaseRenderer.isPolygonalBorder()
.getExtraBorders
in class IltBaseRenderer
rect
- As in draw
.IltBaseRenderer.isPolygonalBorder()
public Dimension getPreferredSize()
getPreferredSize
in class IltCardItemBaseRenderer
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.