|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graph.background.IlpAbstractBackground
ilog.cpl.graph.background.IlpImageTileBackground
public class IlpImageTileBackground
Support for using a set of image files, each representing a tile, as background.
This background type always uses load-on-demand via tiling.
The available properties are:
property name="pattern" (required)property name="rowFormat" (optional)property name="colFormat" (optional)property name="tileWidth" (required)property name="tileHeight" (required)property name="originX" (optional)property name="originY" (optional)A property named "url" should not be given for this class.
| Field Summary | |
|---|---|
static String |
COLUMN_FORMAT_PROPERTY
The column format property. |
static String |
ORIGIN_X_PROPERTY
The X origin property. |
static String |
ORIGIN_Y_PROPERTY
The Y origin property. |
static String |
PATTERN_PROPERTY
The pattern property. |
static String |
ROW_FORMAT_PROPERTY
The row format property. |
static String |
TILE_HEIGHT_PROPERTY
The tile height property. |
static String |
TILE_WIDTH_PROPERTY
The tile width property. |
| Fields inherited from class ilog.cpl.graph.background.IlpAbstractBackground |
|---|
managerLayers |
| Fields inherited from interface ilog.cpl.graph.background.IlpBackground |
|---|
LOAD_ON_DEMAND_PROPERTY, THREADED_PROPERTY, URL_PROPERTY, VISIBLE_PROPERTY |
| Constructor Summary | |
|---|---|
IlpImageTileBackground()
|
|
| Method Summary | |
|---|---|
void |
create(IlvManager manager,
int index,
IlpViewsView view)
Loads the images using load-on-demand via tiling. |
String |
getColFormat()
Returns the column format. |
float |
getOriginX()
Returns the X coordinate of the tile origin. |
float |
getOriginY()
Returns the Y coordinate of the tile origin or -1 is not set. |
String |
getPattern()
Returns the image tile pattern. |
String |
getRowFormat()
Returns the row format. |
float |
getTileHeight()
Returns the tile height or -1 if not set. |
float |
getTileWidth()
Returns the tile width or -1 if not set. |
void |
setColFormat(String colFormat)
Sets the column format. |
void |
setOriginX(float x)
Sets the X coordinate of the tile origin. |
void |
setOriginY(float y)
Sets the Y coordinate of the tile origin. |
void |
setPattern(String pattern)
Sets the image tile pattern |
void |
setRowFormat(String rowFormat)
Sets the row format |
void |
setTileHeight(float height)
Sets the tile height. |
void |
setTileWidth(float width)
Sets the tile width. |
| Methods inherited from class ilog.cpl.graph.background.IlpAbstractBackground |
|---|
addLayer, addLayers, addPropertyChangeListener, dispose, endBatch, getManagerLayer, getManagerLayers, getManagerLayersCount, getProperties, getProperty, getUrl, isLoadOnDemand, isThreaded, isVisible, removeLayer, removeLayers, removePropertyChangeListener, setLoadOnDemand, setProperty, setThreaded, setUrl, setVisible, startBatch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PATTERN_PROPERTY
Setting this property causes the background to be re-generated.
public static final String ROW_FORMAT_PROPERTY
Setting this property causes the background to be re-generated.
public static final String COLUMN_FORMAT_PROPERTY
Setting this property causes the background to be re-generated.
public static final String ORIGIN_X_PROPERTY
Setting this property causes the background to be re-generated.
public static final String ORIGIN_Y_PROPERTY
Setting this property causes the background to be re-generated.
public static final String TILE_HEIGHT_PROPERTY
Setting this property causes the background to be re-generated.
public static final String TILE_WIDTH_PROPERTY
Setting this property causes the background to be re-generated.
| Constructor Detail |
|---|
public IlpImageTileBackground()
| Method Detail |
|---|
public String getPattern()
public void setPattern(String pattern)
pattern - Patternpublic String getRowFormat()
public void setRowFormat(String rowFormat)
rowFormat - Row formatpublic String getColFormat()
public void setColFormat(String colFormat)
colFormat - Column formatpublic float getOriginX()
public void setOriginX(float x)
x - X coordinatepublic float getOriginY()
public void setOriginY(float y)
y - Y coordinatepublic float getTileWidth()
public void setTileWidth(float width)
width - Widthpublic float getTileHeight()
public void setTileHeight(float height)
height - Height
public void create(IlvManager manager,
int index,
IlpViewsView view)
throws IlpBackgroundHandlingException
create in interface IlpBackgroundcreate in class IlpAbstractBackgroundmanager - the manager where the graphics should be added toindex - the IlvManagerLayer index in the manager from which this
background should start inserting the graphics.view - the associated IlpViewsView
IlpBackgroundHandlingException - in case there is a problem handling this operation.IlpAbstractBackground.create(ilog.views.IlvManager, int, ilog.cpl.graphic.views.IlpViewsView)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||