Drag[en]gine Script Module DragonScript Script API  1.0
STDNTextSpan Class Reference

Span of text in a text node which can have an individual style. More...

Inheritance diagram for STDNTextSpan:

Public Member Functions

String getStyle ()
 Style or null to use the parent text node style. More...
 
String getText ()
 Text. More...
 
STDNTextSpan new ()
 Create styled text definition text node span. More...
 
STDNTextSpan new (String text)
 Create styled text definition text node span. More...
 
STDNTextSpan new (String text, String style)
 Create styled text definition text node span. More...
 
STDNTextSpan new (STDNTextSpan span)
 Create copy of styled text definition text node span. More...
 
void setStyle (String style)
 Set style or null to use the parent text node style. More...
 
void setText (String text)
 Set text. More...
 

Detailed Description

Span of text in a text node which can have an individual style.

Without a style set the style of the parent text node is used.

Member Function Documentation

§ getStyle()

String getStyle ( )

Style or null to use the parent text node style.

§ getText()

String getText ( )

Text.

§ new() [1/4]

STDNTextSpan new ( )

Create styled text definition text node span.

§ new() [2/4]

STDNTextSpan new ( String  text)

Create styled text definition text node span.

§ new() [3/4]

STDNTextSpan new ( String  text,
String  style 
)

Create styled text definition text node span.

§ new() [4/4]

STDNTextSpan new ( STDNTextSpan  span)

Create copy of styled text definition text node span.

§ setStyle()

void setStyle ( String  style)

Set style or null to use the parent text node style.

§ setText()

void setText ( String  text)

Set text.


The documentation for this class was generated from the following file: