Class ParagraphInstruction
java.lang.Object
org.eclipse.nebula.widgets.richtext.painter.instructions.ParagraphInstruction
- All Implemented Interfaces:
PaintInstruction
- Direct Known Subclasses:
ListInstruction
public class ParagraphInstruction extends java.lang.Object implements PaintInstruction
PaintInstruction
that is used to set up a new paragraph.-
Field Summary
Fields Modifier and Type Field Description protected AlignmentStyle
alignment
protected int
paragraphSpace
protected TagProcessingState
state
-
Constructor Summary
Constructors Constructor Description ParagraphInstruction(AlignmentStyle alignment, int paragraphSpace, TagProcessingState state)
-
Method Summary
Modifier and Type Method Description void
paint(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle area)
-
Field Details
-
alignment
-
state
-
paragraphSpace
protected int paragraphSpace
-
-
Constructor Details
-
ParagraphInstruction
public ParagraphInstruction(AlignmentStyle alignment, int paragraphSpace, TagProcessingState state)
-
-
Method Details
-
paint
public void paint(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle area)- Specified by:
paint
in interfacePaintInstruction
-