All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class multilizer.RestrictObjectEventObject

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----multilizer.ObjectEventObject
                   |
                   +----multilizer.RestrictObjectEventObject

public class RestrictObjectEventObject
extends ObjectEventObject
An event object that contains the restriction of an object. By default the restriction object does not restrict the translation at all. Inside the restrictObject event you can add one or more restrictions to the object.

See Also:
RestrictObjectListener, addRestrictObjectListener, removeRestrictObjectListener

Constructor Index

 o RestrictObjectEventObject(BaseTranslator, Object)
 o RestrictObjectEventObject(RestrictObjectEventObject)

Method Index

 o getApplyToChilds()
Retrieves a boolean value that indicates whether the restriction is applied to the child controls as well.
 o getChildRestriction(RestrictObjectEventObject)
Returns the child restrictions of the restriction.
 o getCustomTranslate()
Retrieves a boolean value that indicates whether the custom translation is applied to the object.
 o getFlip()
Retrieves a boolean value that indicates whether the object is flipped when a bidirectional language is active.
 o getTranslate()
Gets the translate flag.
 o getUpdateReadingOrder()
Retrieves a boolean value that indicates whether the reading order of the object is updated.
 o init(RestrictObjectEventObject)
Copies the content of the given restriction to this one.
 o setApplyToChilds(boolean)
Specifies whether the restriction should be applied to the child controls as well.
 o setCustomTranslate(boolean)
Specifies whether the custom translation should be applied to the object.
 o setFlip(boolean)
Specifies whether the object should be flipped when a bidirectional language is active.
 o setFullRestrictions()
Disables the translation of the object and its childs completely.
 o setTranslate(boolean)
Sets the translate flag.
 o setUpdateReadingOrder(boolean)
Specifies whether the reading order of the object should be updated.

Constructors

 o RestrictObjectEventObject
 public RestrictObjectEventObject(BaseTranslator source,
                                  Object object)
 o RestrictObjectEventObject
 public RestrictObjectEventObject(RestrictObjectEventObject restriction)

Methods

 o init
 public void init(RestrictObjectEventObject restriction)
Copies the content of the given restriction to this one.

 o getChildRestriction
 public static RestrictObjectEventObject getChildRestriction(RestrictObjectEventObject restriction)
Returns the child restrictions of the restriction.

 o setFullRestrictions
 public void setFullRestrictions()
Disables the translation of the object and its childs completely.

See Also:
setTranslate, setCustomTranslate, setFlip, setUpdateReadingOrder, setApplyToChilds
 o setTranslate
 public void setTranslate(boolean value)
Sets the translate flag. If this is false the object is not translated.

 o getTranslate
 public boolean getTranslate()
Gets the translate flag.

 o setCustomTranslate
 public void setCustomTranslate(boolean value)
Specifies whether the custom translation should be applied to the object.

See Also:
getCustomTranslate, setTranslate
 o getCustomTranslate
 public boolean getCustomTranslate()
Retrieves a boolean value that indicates whether the custom translation is applied to the object.

See Also:
setCustomTranslate, getTranslate
 o setFlip
 public void setFlip(boolean value)
Specifies whether the object should be flipped when a bidirectional language is active.

See Also:
getFlip, setUpdateReadingOrder
 o getFlip
 public boolean getFlip()
Retrieves a boolean value that indicates whether the object is flipped when a bidirectional language is active.

See Also:
setFlip, getUpdateReadingOrder
 o setUpdateReadingOrder
 public void setUpdateReadingOrder(boolean value)
Specifies whether the reading order of the object should be updated.

See Also:
getUpdateReadingOrder, setFlip
 o getUpdateReadingOrder
 public boolean getUpdateReadingOrder()
Retrieves a boolean value that indicates whether the reading order of the object is updated.

See Also:
setUpdateReadingOrder, getFlip
 o setApplyToChilds
 public void setApplyToChilds(boolean value)
Specifies whether the restriction should be applied to the child controls as well.

See Also:
getApplyToChilds
 o getApplyToChilds
 public boolean getApplyToChilds()
Retrieves a boolean value that indicates whether the restriction is applied to the child controls as well.

See Also:
setApplyToChilds

All Packages  Class Hierarchy  This Package  Previous  Next  Index