public abstract class IltCardBaseRenderer extends IltBaseRenderer
IltCard
Modifier and Type | Class and Description |
---|---|
static class |
IltCardBaseRenderer.EmptySlot
The base renderer for empty slots.
|
static class |
IltCardBaseRenderer.Graphic
The base renderer for cards that are displayed using
IlvGraphic objects. |
static class |
IltCardBaseRenderer.Standard
The base renderer for the standard card representation.
|
Modifier | Constructor and Description |
---|---|
protected |
IltCardBaseRenderer()
Default constructor
|
protected |
IltCardBaseRenderer(ilog.tgo.graphic.renderer.internal.IltBaseRendererState state)
For compatibility purposes, internal use only !
|
Modifier and Type | Method and Description |
---|---|
protected ilog.tgo.graphic.renderer.internal.IltBaseRendererState |
createBaseRendererState()
Resets the properties
|
protected void |
drawExtraBorders(Graphics g,
IlvTransformer t,
IlvRect rect)
Draws the extra borders.
|
int |
getDirection()
Returns the card item direction.
|
protected boolean |
isExtraBorderOutside()
Indicates whether the extra borders should be drawn inside or outside of
the
rect used to call drawExtraBorders . |
void |
setDirection(int d)
Sets the card item direction.
|
__isDottedBorderVisible, attach, boundingBox, boundingBoxWithTransformer, contains, containsExtraBorders, containsMain, draw, drawAlarmBorder, drawExtraBorder, drawExtraBorder, drawMain, 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
protected IltCardBaseRenderer()
protected IltCardBaseRenderer(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 void setDirection(int d)
public int getDirection()
protected void drawExtraBorders(Graphics g, IlvTransformer t, IlvRect rect)
The implementation of this function calls drawExtraBorders
once for each border that has to be drawn. The borders are drawn
inside rect
. The shelf item border thickness is taken into
account.
drawExtraBorders
in class IltBaseRenderer
g
- The graphics context to draw into.t
- The transformer that has been applied to rect
.rect
- The rectangle to draw into.IltrThickness.ShelfItemBorderThickness
protected boolean isExtraBorderOutside()
rect
used to call drawExtraBorders
.
This implementation returns false
, as the borders of cards
should be drawn inside rect
.
isExtraBorderOutside
in class IltBaseRenderer
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.