|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpicedt.graphic.view.DefaultViewFactory
jpicedt.format.output.eepic.EepicViewFactory
jpicedt.format.output.latex.LatexViewFactory
public class LatexViewFactory
Creates a View for a given Element when the underlying content type is the LaTeX-picture environment.
Nested Class Summary | |
---|---|
class |
LatexViewFactory.AbstractCurveView
a View for rendering any concrete implementation of jpicedt.graphic.model.AbstractCurve LaTeX-picture environment does not allow filling such shapes. |
class |
LatexViewFactory.EllipseView
view for ellipse specific to the LaTeX picture environment. |
class |
LatexViewFactory.ParallelogramView
a View for rendering parallelograms. |
Nested classes/interfaces inherited from class jpicedt.format.output.eepic.EepicViewFactory |
---|
EepicViewFactory.TextView |
Nested classes/interfaces inherited from class jpicedt.graphic.view.DefaultViewFactory |
---|
DefaultViewFactory.LeafElementView, DefaultViewFactory.PicNodeConnectionView, DefaultViewFactory.TextViewHybrid |
Field Summary | |
---|---|
protected static Color |
LATEX_FILL
color for interior |
protected static Color |
LATEX_STROKE
color for outlines |
Fields inherited from class jpicedt.format.output.eepic.EepicViewFactory |
---|
EEPIC_BLACKEN, EEPIC_COLOR, EEPIC_SHADE, EEPIC_STROKE, EEPIC_WHITEN |
Fields inherited from class jpicedt.graphic.view.DefaultViewFactory |
---|
KEY_TEXT_FONT, TEXT_FONT_DEFAULT, TEXT_FONT_SCALE, textFont |
Constructor Summary | |
---|---|
LatexViewFactory()
|
Method Summary | |
---|---|
static void |
configure(Properties preferences)
Configure static fields using the given Properties object |
protected Paint |
createPaintForInterior(PicAttributeSet set)
Returns LATEX_FILL, ie black filling only is allowed. |
View |
createView(Element element)
|
Methods inherited from class jpicedt.format.output.eepic.EepicViewFactory |
---|
createArrow, createPaintForOutline, createStroke, paintHatches, paintOverStrike, paintShadow |
Methods inherited from class jpicedt.graphic.view.DefaultViewFactory |
---|
main |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Color LATEX_STROKE
protected static final Color LATEX_FILL
Constructor Detail |
---|
public LatexViewFactory()
Method Detail |
---|
public static void configure(Properties preferences)
properties
- used to read shared parameters
If null, default values are used.public View createView(Element element)
createView
in interface ViewFactory
createView
in class EepicViewFactory
protected Paint createPaintForInterior(PicAttributeSet set)
createPaintForInterior
in class EepicViewFactory
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |