Class ListInstruction
java.lang.Object
org.eclipse.nebula.widgets.richtext.painter.instructions.ParagraphInstruction
org.eclipse.nebula.widgets.richtext.painter.instructions.ListInstruction
- All Implemented Interfaces:
PaintInstruction
public class ListInstruction extends ParagraphInstruction
PaintInstruction
that is similar to a ParagraphInstruction
and additionally adds
setting up list rendering states.-
Field Summary
Fields Modifier and Type Field Description protected int
listIndentation
protected boolean
ordered
Fields inherited from class org.eclipse.nebula.widgets.richtext.painter.instructions.ParagraphInstruction
alignment, paragraphSpace, state
-
Constructor Summary
Constructors Constructor Description ListInstruction(int listIndent, boolean ordered, 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
-
listIndentation
protected int listIndentation -
ordered
protected boolean ordered
-
-
Constructor Details
-
ListInstruction
public ListInstruction(int listIndent, boolean ordered, 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
- Overrides:
paint
in classParagraphInstruction
-