public class IlpImageTileBackground extends IlpAbstractBackground
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.
Modifier and Type | Field and Description |
---|---|
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.
|
managerLayers
LOAD_ON_DEMAND_PROPERTY, THREADED_PROPERTY, URL_PROPERTY, VISIBLE_PROPERTY
Constructor and Description |
---|
IlpImageTileBackground()
Instantiates a new background.
|
Modifier and Type | Method and Description |
---|---|
void |
create(IlvManager manager,
int index,
IlpViewsView view)
Loads the images using load-on-demand via tiling.
|
String |
getColFormat()
Returns the column format.
|
double |
getOriginX()
Returns the X coordinate of the tile origin.
|
double |
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.
|
double |
getTileHeight()
Returns the tile height or -1 if not set.
|
double |
getTileWidth()
Returns the tile width or -1 if not set.
|
void |
setColFormat(String colFormat)
Sets the column format.
|
void |
setOriginX(double x)
Sets the X coordinate of the tile origin.
|
void |
setOriginY(double 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(double height)
Sets the tile height.
|
void |
setTileWidth(double width)
Sets the tile width.
|
addLayer, addLayers, addPropertyChangeListener, dispose, endBatch, getManagerLayer, getManagerLayers, getManagerLayersCount, getProperties, getProperty, getUrl, isLoadOnDemand, isThreaded, isVisible, removeLayer, removeLayers, removePropertyChangeListener, setLoadOnDemand, setProperty, setThreaded, setUrl, setVisible, startBatch
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.
public IlpImageTileBackground()
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 double getOriginX()
public void setOriginX(double x)
x
- X coordinatepublic double getOriginY()
public void setOriginY(double y)
y
- Y coordinatepublic double getTileWidth()
public void setTileWidth(double width)
width
- Widthpublic double getTileHeight()
public void setTileHeight(double height)
height
- Heightpublic void create(IlvManager manager, int index, IlpViewsView view) throws IlpBackgroundHandlingException
create
in interface IlpBackground
create
in class IlpAbstractBackground
manager
- 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 IlpViewsViewIlpBackgroundHandlingException
- in case there is a problem handling this operation.IlpAbstractBackground.create(ilog.views.IlvManager, int, ilog.cpl.graphic.views.IlpViewsView)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.