public class HTMLBlock
extends java.lang.Object
Constructor and Description |
---|
HTMLBlock(java.lang.String hText,
int height) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCurrentFileName(int cPage,
int tPage,
java.lang.String prefix)
Helper method for generating the current file name of a multi-page export
|
static java.lang.String |
getFirstFileName(java.lang.String prefix)
Helper method for generating the first file name of a multi-page export
|
int |
getHeight()
Get the height of this block.
|
static java.lang.String |
getLastFileName(java.lang.String prefix)
Helper method for generating the last file name of a multi-page export
|
static java.lang.String |
getNextFileName(int cPage,
int tPage,
java.lang.String prefix)
Helper method for generating the next file name of a multi-page export
|
static java.lang.String |
getPreviousFileName(int cPage,
int tPage,
java.lang.String prefix)
Helper method for generating the previous file name of a multi-page export
|
java.lang.String |
getText()
Get the HTML/DHTML text that should be written in this block.
|
void |
setHeight(int height)
Set the height of this block.
|
void |
setText(java.lang.String t) |
public void setText(java.lang.String t)
public java.lang.String getText()
public void setHeight(int height)
height
- Height of this block specified in pixels.public int getHeight()
public static final java.lang.String getFirstFileName(java.lang.String prefix)
public static final java.lang.String getPreviousFileName(int cPage, int tPage, java.lang.String prefix)
public static final java.lang.String getCurrentFileName(int cPage, int tPage, java.lang.String prefix)
public static final java.lang.String getNextFileName(int cPage, int tPage, java.lang.String prefix)
public static final java.lang.String getLastFileName(java.lang.String prefix)