|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.mif.MifToken
org.foray.mif.MifBookComponent
public class MifBookComponent
A MIF Book Component.
Constructor Summary | |
---|---|
MifBookComponent()
Constructor. |
Method Summary | |
---|---|
MifFrame |
createFrame(MifBook book,
int x,
int y,
int w,
int h)
Create a frame and add it to this component. |
MifTbl |
createTable()
Creates a new table and adds it to this component. |
MifFrame |
curFrame()
Returns the current frame. |
MifPage |
curPage()
Returns the current page. |
MifTbl |
curTable()
Returns the current table. |
MifTextFlow |
curTextFlow()
Returns the current text flow. |
MifColorCatalog |
getColorCatalog()
Returns the color catalog for this component. |
MifDocument |
getDocument()
Returns the document associated with this component. |
List<MifPage> |
getPages()
Returns the pages for this component. |
MifTblCatalog |
getTblCatalog()
Returns the table catalog for this component. |
List<MifFlow> |
getTextFlows()
Returns the text flows for this component. |
String |
mifContent()
Returns the content of this token as a String. |
void |
setDocument(MifDocument document)
Sets the document associated with this component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MifBookComponent()
Method Detail |
---|
public MifFrame createFrame(MifBook book, int x, int y, int w, int h)
book
- The book for the new frame (??????).x
- The x coordinate of the new frame.y
- The y coordinate of the new frame.w
- The width of the new frame.h
- The height of the new frame.
public MifFrame curFrame()
public MifTextFlow curTextFlow()
public MifTbl createTable()
public MifTbl curTable()
public String mifContent()
MifToken
public MifPage curPage()
public MifTblCatalog getTblCatalog()
public MifColorCatalog getColorCatalog()
public List<MifPage> getPages()
public MifDocument getDocument()
public List<MifFlow> getTextFlows()
public void setDocument(MifDocument document)
document
- The document to associate with this component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |