Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.ECPString Class Reference

String value element class property for use with XML loading. More...

Inheritance diagram for Dragengine.Scenery.ECPString:
Dragengine.Scenery.ElementClassProperty

Public Member Functions

void copyValue (ElementClass elementClass, ElementClassProperty property)
 Copy value from another element class property of the same type. More...
 
String getValue ()
 Value. More...
 
String getValue (StubWithProperties stub)
 String value value modified by stub property if present. More...
 
String getValueOrEmpty (StubWithProperties stub)
 String value value modified by stub property if present. More...
 
String getValueOrNull (StubWithProperties stub)
 String value value modified by stub property if present. More...
 
ECPString new (String name, String value)
 Create property. More...
 
void setValue (Object value)
 Set value of property from XML decoded value. More...
 
- Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty
void dispose ()
 Dispose of element class property to break reference loops. More...
 
String getName ()
 Name. More...
 
bool logPreloadProblems (ElementClass elementClass, Console console)
 Log preloading problems. More...
 
ElementClassProperty new (String name)
 Create property. More...
 
void preloadResources (ElementClass elementClass, PreloadCounter counter)
 Preload resources if supported. More...
 

Detailed Description

String value element class property for use with XML loading.

Member Function Documentation

◆ copyValue()

void Dragengine.Scenery.ECPString.copyValue ( ElementClass  elementClass,
ElementClassProperty  property 
)

Copy value from another element class property of the same type.

Version
1.17

◆ getValue() [1/2]

String Dragengine.Scenery.ECPString.getValue ( )

Value.

◆ getValue() [2/2]

String Dragengine.Scenery.ECPString.getValue ( StubWithProperties  stub)

String value value modified by stub property if present.

If named stub property is not present stored value is returned. If the named stub property is present it is returned.

◆ getValueOrEmpty()

String Dragengine.Scenery.ECPString.getValueOrEmpty ( StubWithProperties  stub)

String value value modified by stub property if present.

Version
1.13

If named stub property is not present stored value is returned. If the named stub property is present it is returned. If the value to be returned is null empty string is returned.

◆ getValueOrNull()

String Dragengine.Scenery.ECPString.getValueOrNull ( StubWithProperties  stub)

String value value modified by stub property if present.

Version
1.13

If named stub property is not present stored value is returned. If the named stub property is present it is returned. If the value to be returned is empty string null is returned.

◆ new()

ECPString Dragengine.Scenery.ECPString.new ( String  name,
String  value 
)

Create property.

◆ setValue()

void Dragengine.Scenery.ECPString.setValue ( Object  value)

Set value of property from XML decoded value.

Reimplemented from Dragengine.Scenery.ElementClassProperty.


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