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
PaintInstructionthat is similar to aParagraphInstructionand additionally adds setting up list rendering states.
-
-
Field Summary
Fields Modifier and Type Field Description protected intlistIndentationprotected booleanordered-
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 voidpaint(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:
paintin interfacePaintInstruction- Overrides:
paintin classParagraphInstruction
-
-