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 aParagraphInstruction
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
paint(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle area)
-
-
-
Constructor Detail
-
ListInstruction
public ListInstruction(int listIndent, boolean ordered, AlignmentStyle alignment, int paragraphSpace, TagProcessingState state)
-
-
Method Detail
-
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
-
-