|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.tgo.graphic.renderer.IltBaseRenderer
ilog.tgo.graphic.renderer.IltCardBaseRenderer
public abstract class IltCardBaseRenderer
This class encapsulates the drawing functionality for the base of a card.
IltCard| Nested Class Summary | |
|---|---|
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. |
| Constructor Summary | |
|---|---|
protected |
IltCardBaseRenderer()
Default constructor |
protected |
IltCardBaseRenderer(ilog.tgo.graphic.renderer.internal.IltBaseRendererState state)
For compatibility purposes, internal use only ! |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected IltCardBaseRenderer()
protected IltCardBaseRenderer(ilog.tgo.graphic.renderer.internal.IltBaseRendererState state)
For compatibility purposes, internal use only !
| Method Detail |
|---|
protected ilog.tgo.graphic.renderer.internal.IltBaseRendererState createBaseRendererState()
createBaseRendererState in class IltBaseRendererpublic 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 IltBaseRendererg - The graphics context to draw into.t - The transformer that has been applied to rect.rect - The rectangle to draw into.IltrThickness.ShelfItemBorderThicknessprotected 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
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||