|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.klg.jclass.page.EndOfFrameException
PageLayout throws an EndOfFrameException when it runs out of space in a frame while rendering user input.
Field Summary | |
protected List |
currentLine
A list of render objects comprising the current (partially complete) line |
protected com.klg.jclass.page.JCTextStyle |
currentTextStyle
The style that was last used to flow to the frame |
protected boolean |
firstLine
Indicates if the current line is the first line of a new paragraph |
protected List |
floatList
The list of floating objects yet to be placed |
protected int |
last_table_column
The column of the table at which to end the next block of cells |
protected int |
next_table_column
The column of the table at which to start the next block of cells |
protected int |
next_table_row
The row of the table at which to start the next block of cells |
protected com.klg.jclass.page.JCPageTable |
table
A table which was partially printed in the current frame is stored here |
Constructor Summary | |
EndOfFrameException()
Create a blank end of frame exception |
|
EndOfFrameException(com.klg.jclass.page.JCFlowInfo info,
String message)
Create an end of frame exception based on the frame flow status provided by info and the given message |
|
EndOfFrameException(String message)
Create an end of frame exception reporting the given message |
Method Summary | |
List |
getCurrentLine()
Get the current line data |
com.klg.jclass.page.JCTextStyle |
getCurrentStyle()
Get the style last used in the frame's flow |
List |
getFloatList()
Get the list of objects waiting to be floated to the document |
com.klg.jclass.page.JCPageTable |
getTable()
Return the table which we are in the process of flowing to the document |
int |
getTableEndColumn()
Return the end column for resuming the current table section |
int |
getTableStartColumn()
Return the start column for resuming the current table |
int |
getTableStartRow()
Return the start row for resuming the current table |
boolean |
isFirstLine()
Determine if the current line is the first line of a paragraph |
void |
setTableFlow(com.klg.jclass.page.JCPageTable table,
int row,
int column)
Set the parameters for resuming a table in the next frame |
void |
setTableFlow(com.klg.jclass.page.JCPageTable table,
int row,
int column,
int last_column)
Set the parameters for resuming a table section in the next frame |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected List currentLine
protected List floatList
protected com.klg.jclass.page.JCTextStyle currentTextStyle
protected boolean firstLine
protected com.klg.jclass.page.JCPageTable table
protected int next_table_row
protected int next_table_column
protected int last_table_column
Constructor Detail |
public EndOfFrameException()
public EndOfFrameException(String message)
message
- the message to report in the exceptionpublic EndOfFrameException(com.klg.jclass.page.JCFlowInfo info, String message)
info
- The flow status of the current frame (generating the exception)message
- the message to report in the exceptionMethod Detail |
public List getCurrentLine()
public com.klg.jclass.page.JCTextStyle getCurrentStyle()
public List getFloatList()
public boolean isFirstLine()
public int getTableStartRow()
public int getTableStartColumn()
public int getTableEndColumn()
public com.klg.jclass.page.JCPageTable getTable()
public void setTableFlow(com.klg.jclass.page.JCPageTable table, int row, int column)
table
- The table which is currently being printedrow
- The first row of the table to print in the new framecolumn
- The first column of the table to print in the new framepublic void setTableFlow(com.klg.jclass.page.JCPageTable table, int row, int column, int last_column)
table
- The table which is currently being printedrow
- The first row of the table to print in the new framecolumn
- The first column of the table to print in the new framelast_column
- The last column of the table section to print in the new frame
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |