Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_captionText |
private java.lang.String |
_introText |
private java.io.File |
_pic |
CAPTION_TEXT_FORMAT, INTRO_TEXT_FORMAT
Constructor and Description |
---|
FigureDocImpl(DocgenConfig docgenCfg,
UmlDiagram d)
Constructor.
|
FigureDocImpl(DocgenConfig docgenCfg,
UmlDiagram d,
TextDescription description,
TextDescription htmlDescription,
java.io.File pic,
java.lang.String showsWhat,
java.lang.String caption)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
deduceCaption(UmlDiagram d) |
private static java.lang.String |
deduceShowsWhat(UmlDiagram d) |
java.lang.String |
getCaptionText()
Returns text that describes the caption.
|
java.io.File |
getFigureFile()
Returns file with the figure.
|
java.lang.String |
getIntroText()
Returns text that will introduce the table.
|
copyCell, copyNonEmptyCell, createDocId, filterClasses, getCell, getCells, getDescription, getDocgenCfg, getHeadingText, hasKey, log, putCell, putCellNonEmpty, toSkip, toString, useHtml
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getDocgenCfg, getHeadingText
copyCell, copyNonEmptyCell, getCell, getCells, hasKey, putCell, putCellNonEmpty
private final java.lang.String _introText
private final java.lang.String _captionText
private final java.io.File _pic
public FigureDocImpl(DocgenConfig docgenCfg, UmlDiagram d)
docgenCfg
- d
- public FigureDocImpl(DocgenConfig docgenCfg, UmlDiagram d, TextDescription description, TextDescription htmlDescription, java.io.File pic, java.lang.String showsWhat, java.lang.String caption)
docgenCfg
- non-null docgen configuration.d
- (potentially null) UML diagram.description
- htmlDescription
- pic
- file containing picture.showsWhat
- non-null text to enclose in
" shows %s.".caption
- non-null caption text.private static java.lang.String deduceShowsWhat(UmlDiagram d)
private static java.lang.String deduceCaption(UmlDiagram d)
public java.lang.String getIntroText()
FigureDoc
getIntroText
in interface FigureDoc
public java.lang.String getCaptionText()
FigureDoc
getCaptionText
in interface FigureDoc
public java.io.File getFigureFile()
FigureDoc
getFigureFile
in interface FigureDoc
Copyright 2009-2015 Tatjana (Tanja) Kostic