public class EmblemGraphicRenderer
extends ilog.views.gantt.graphic.renderer.IlvActivityGraphicRenderer
Modifier and Type | Class and Description |
---|---|
static class |
EmblemGraphicRenderer.Location
An enumeration of Icon locations representing the 4 corners
|
static interface |
EmblemGraphicRenderer.Visibiliy |
Constructor and Description |
---|
EmblemGraphicRenderer(java.lang.String imagePath)
Creates a new renderer that renders the emblem graphic as an overaly in the top left of the activity graphic box.
|
EmblemGraphicRenderer(java.lang.String imagePath,
EmblemGraphicRenderer.Location location,
EmblemGraphicRenderer.Visibiliy visibility)
Created a new Emblem Renderer that renderes the icon at the given corner using the
given visibility
|
EmblemGraphicRenderer(java.lang.String imagePath,
EmblemGraphicRenderer.Visibiliy visibility)
Creates a new renderer that renders the emblem graphic as an overaly in the top left of the activity graphic box.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics g,
ilog.views.gantt.graphic.IlvActivityGraphic paramIlvActivityGraphic,
ilog.views.IlvTransformer paramIlvTransformer) |
int |
getEmblemSize() |
java.lang.String |
getImagePath() |
EmblemGraphicRenderer.Location |
getLocation() |
EmblemGraphicRenderer.Visibiliy |
getVisibility() |
void |
setEmblemSize(int emblemSize) |
void |
setImagePath(java.lang.String imagePath) |
void |
setLocation(EmblemGraphicRenderer.Location location) |
void |
setVisibility(EmblemGraphicRenderer.Visibiliy visibility) |
contains, createSelection, getBaseTextDirection, getBottomMargin, getBounds, getDefinitionRect, getEndTime, getEndTimeProperty, getGraphic, getPopupMenu, getPopupMenuName, getStartTime, getStartTimeProperty, getToolTipText, getToolTipText, getTopMargin, getVisibilityProperty, isPropertyEditable, isRedrawNeeded, isRedrawNeeded, isRelayoutNeeded, makeSelection, setBackground, setBaseTextDirection, setBottomMargin, setEndTimeProperty, setForeground, setGraphic, setPopupMenu, setPopupMenuName, setStartTimeProperty, setToolTipText, setTopMargin, setVisibilityProperty
public EmblemGraphicRenderer(java.lang.String imagePath)
public EmblemGraphicRenderer(java.lang.String imagePath, EmblemGraphicRenderer.Visibiliy visibility)
public EmblemGraphicRenderer(java.lang.String imagePath, EmblemGraphicRenderer.Location location, EmblemGraphicRenderer.Visibiliy visibility)
public void draw(java.awt.Graphics g, ilog.views.gantt.graphic.IlvActivityGraphic paramIlvActivityGraphic, ilog.views.IlvTransformer paramIlvTransformer)
draw
in interface ilog.views.gantt.graphic.renderer.IlvActivityRenderer
draw
in class ilog.views.gantt.graphic.renderer.IlvActivityGraphicRenderer
public EmblemGraphicRenderer.Visibiliy getVisibility()
public void setVisibility(EmblemGraphicRenderer.Visibiliy visibility)
public java.lang.String getImagePath()
public void setImagePath(java.lang.String imagePath)
public int getEmblemSize()
public void setEmblemSize(int emblemSize)
public EmblemGraphicRenderer.Location getLocation()
public void setLocation(EmblemGraphicRenderer.Location location)