java.lang.Object
jpicedt.graphic.view.DefaultViewFactory
jpicedt.format.eepic.EepicViewFactory
jpicedt.format.latex.LatexViewFactory
- All Implemented Interfaces:
- LatexConstants, jpicedt.graphic.model.PicObjectConstants, jpicedt.graphic.view.ViewFactory
- public class LatexViewFactory
- extends jpicedt.format.eepic.EepicViewFactory
- implements LatexConstants
A factory to create a View for a given Element when the underlying content type is LaTeX (i.e. picture env.)
This is essentially based on Epic/Eepic behaviour, except for filling shapes (only small circles
and rectangles can be filled).
- Since:
- jPicEdt 1.3.2
Nested classes inherited from class jpicedt.format.eepic.EepicViewFactory |
jpicedt.format.eepic.EepicViewFactory.CubicBezierView, jpicedt.format.eepic.EepicViewFactory.QuadBezierView, jpicedt.format.eepic.EepicViewFactory.TextView |
Nested classes inherited from class jpicedt.graphic.view.DefaultViewFactory |
jpicedt.graphic.view.DefaultViewFactory.CompositeView, jpicedt.graphic.view.DefaultViewFactory.LeafElementView, jpicedt.graphic.view.DefaultViewFactory.RectangleView |
Fields inherited from interface jpicedt.format.latex.LatexConstants |
CR_LF, DEFAULT_EM_LINE_LENGTH, DEFAULT_FILE_WRAPPER_EPILOG, DEFAULT_FILE_WRAPPER_PROLOG, DEFAULT_LINE_THICKNESS, DEFAULT_MAX_CIRCLE_DIAMETER, DEFAULT_MAX_DISK_DIAMETER, DEFAULT_MAX_EM_CIRCLE_SEGMENT_LENGTH, DEFAULT_MAX_EM_LINE_SLOPE, KEY_EM_LINE_LENGTH, KEY_FILE_WRAPPER_EPILOG, KEY_FILE_WRAPPER_PROLOG, KEY_LINE_THICKNESS, KEY_MAX_CIRCLE_DIAMETER, KEY_MAX_DISK_DIAMETER, KEY_MAX_EM_CIRCLE_SEGMENT_LENGTH, KEY_MAX_EM_LINE_SLOPE |
Fields inherited from interface jpicedt.graphic.model.PicObjectConstants |
CROSSHATCH, CROSSHATCH_FILLED, DASH_OPAQUE, DASH_TRANSPARENT, DASH1, DASH2, DASH3, DASHED, DIMEN, DOT_SEP, DOT_SEP1, DOT_SEP2, DOT_SEP3, DOTTED, DOUBLE_COLOR, DOUBLE_LINE, DOUBLE_SEP, FILL_COLOR, FILL_STYLE, HATCH_ANGLE, HATCH_COLOR, HATCH_SEP, HATCH_WIDTH, HLINES, HLINES_FILLED, INNER, LEFT_ARROW, LINE_COLOR, LINE_STYLE, LINE_WIDTH, MaxAttributeNameIndex, MIDDLE, NONE, OUTER, POLYGON_DOTS, POLYGON_SOLID, POLYGON_STYLE, PS_POINT, RIGHT_ARROW, SHADOW, SHADOW_ANGLE, SHADOW_COLOR, SHADOW_SIZE, SOLID, VLINES, VLINES_FILLED |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LATEX_STROKE
protected static final java.awt.Color LATEX_STROKE
- color for outlines
LATEX_FILL
protected static final java.awt.Color LATEX_FILL
- color for interior
maxLatexDiskDiameter
static double maxLatexDiskDiameter
LatexViewFactory
public LatexViewFactory()
configure
public static void configure(java.util.Properties preferences)
- Configure static fields using the given Properties object
createView
public jpicedt.graphic.view.View createView(jpicedt.graphic.model.Element element)
- Specified by:
createView
in interface jpicedt.graphic.view.ViewFactory
createPaintForInterior
protected java.awt.Paint createPaintForInterior(jpicedt.graphic.model.PicAttributeSet set)