APIdia Launch Partner
Top Description Inners Methods
com.badlogic.gdx.tools.hiero.unicodefont.effects

public Interface ConfigurableEffect

extends Effect
Known Direct Implementers
com.badlogic.gdx.tools.hiero.unicodefont.effects.DistanceFieldEffect, com.badlogic.gdx.tools.hiero.unicodefont.effects.GradientEffect, com.badlogic.gdx.tools.hiero.unicodefont.effects.OutlineEffect, com.badlogic.gdx.tools.hiero.unicodefont.effects.ShadowEffect, com.badlogic.gdx.tools.hiero.unicodefont.effects.ColorEffect
Imports
java.util.List

An effect that has a number of configuration values. This allows the effect to be configured in the Hiero GUI and to be saved and loaded to and from a file.
Author
Nathan Sweet

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
ConfigurableEffect.Value

Represents a configurable value for an effect.

Method Summary

Modifier and TypeMethod and Description
public List<E>
getValues()

Returns the list of Values for this effect.

public void
setValues(List<E> values)

Sets the list of Values for this effect.

Inherited from com.badlogic.gdx.tools.hiero.unicodefont.effects.Effect:
draw

Method Detail

getValuesback to summary
public List<E> getValues()

Returns the list of Values for this effect. This list is not typically backed by the effect, so changes to the values will not take affect until setValues(List) is called.

setValuesback to summary
public void setValues(List<E> values)

Sets the list of Values for this effect.

com.badlogic.gdx.tools.hiero.unicodefont.effects back to summary

public Interface ConfigurableEffect.Value

Known Direct Implementers
com.badlogic.gdx.tools.hiero.unicodefont.effects.EffectUtil.DefaultValue

Represents a configurable value for an effect.

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Returns the name of the value.

public Object
getObject()

Gets the object representation of the value.

public String
getString()

Gets the string representation of the value.

public void
setString(String value)

Sets the string representation of the value.

public void
showDialog()

Shows a dialog allowing a user to configure this value.

Method Detail

getNameback to summary
public String getName()

Returns the name of the value.

getObjectback to summary
public Object getObject()

Gets the object representation of the value.

getStringback to summary
public String getString()

Gets the string representation of the value.

setStringback to summary
public void setString(String value)

Sets the string representation of the value.

showDialogback to summary
public void showDialog()

Shows a dialog allowing a user to configure this value.