qx.locale
Class LocalizedString

java.lang.Object
  extended by qx.core.Object
      extended by qx.locale.LocalizedString

public class LocalizedString
extends Object


Constructor Summary
LocalizedString()
           
LocalizedString(String messageId)
           
LocalizedString(String messageId, java.lang.Object args)
           
LocalizedString(String messageId, java.lang.Object args, String locale)
           
 
Method Summary
 java.lang.Object getArgs()
          Returns the (computed) value of the property args.
 String getId()
          Returns the (computed) value of the property id.
 void initArgs(java.lang.Object arg)
          Calls the apply method and dispatches the change event of the property args with the default value defined by the class developer.
 void initId(String arg)
          Calls the apply method and dispatches the change event of the property id with the default value defined by the class developer.
 void resetArgs()
          Resets the user value of the property args.
 void resetId()
          Resets the user value of the property id.
 void setArgs(java.lang.Object arg)
          Sets the user value of the property args.
 void setId(String arg)
          Sets the user value of the property id.
 java.lang.String toString_()
          Return translation of the string using the current locale
 
Methods inherited from class qx.core.Object
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizedString

public LocalizedString()

LocalizedString

public LocalizedString(String messageId)

LocalizedString

public LocalizedString(String messageId,
                       java.lang.Object args)

LocalizedString

public LocalizedString(String messageId,
                       java.lang.Object args,
                       String locale)
Method Detail

getArgs

public java.lang.Object getArgs()

Returns the (computed) value of the property args.

For further details take a look at the property definition: args.


getId

public String getId()

Returns the (computed) value of the property id.

For further details take a look at the property definition: id.


initArgs

public void initArgs(java.lang.Object arg)

Calls the apply method and dispatches the change event of the property args with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: args.


initId

public void initId(String arg)

Calls the apply method and dispatches the change event of the property id with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: id.


resetArgs

public void resetArgs()

Resets the user value of the property args.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: args.


resetId

public void resetId()

Resets the user value of the property id.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: id.


setArgs

public void setArgs(java.lang.Object arg)

Sets the user value of the property args.

For further details take a look at the property definition: args.


setId

public void setId(String arg)

Sets the user value of the property id.

For further details take a look at the property definition: id.


toString_

public java.lang.String toString_()

Return translation of the string using the current locale

Overrides:
toString_ in class Object


Copyright © 2008 1&1. All Rights Reserved.