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
-
RestrictObjectEventObject(BaseTranslator, Object)
-
-
RestrictObjectEventObject(RestrictObjectEventObject)
-
-
getApplyToChilds()
- Retrieves a boolean value that indicates whether the restriction is applied to the child controls as well.
-
getChildRestriction(RestrictObjectEventObject)
- Returns the child restrictions of the restriction.
-
getCustomTranslate()
- Retrieves a boolean value that indicates whether the custom translation is applied to the object.
-
getFlip()
- Retrieves a boolean value that indicates whether the object is flipped when a bidirectional language is active.
-
getTranslate()
- Gets the translate flag.
-
getUpdateReadingOrder()
- Retrieves a boolean value that indicates whether the reading order of the object is updated.
-
init(RestrictObjectEventObject)
- Copies the content of the given restriction to this one.
-
setApplyToChilds(boolean)
- Specifies whether the restriction should be applied to the child controls as well.
-
setCustomTranslate(boolean)
- Specifies whether the custom translation should be applied to the object.
-
setFlip(boolean)
- Specifies whether the object should be flipped when a bidirectional language is active.
-
setFullRestrictions()
- Disables the translation of the object and its childs completely.
-
setTranslate(boolean)
- Sets the translate flag.
-
setUpdateReadingOrder(boolean)
- Specifies whether the reading order of the object should be updated.
RestrictObjectEventObject
public RestrictObjectEventObject(BaseTranslator source,
Object object)
RestrictObjectEventObject
public RestrictObjectEventObject(RestrictObjectEventObject restriction)
init
public void init(RestrictObjectEventObject restriction)
- Copies the content of the given restriction to this one.
getChildRestriction
public static RestrictObjectEventObject getChildRestriction(RestrictObjectEventObject restriction)
- Returns the child restrictions of the restriction.
setFullRestrictions
public void setFullRestrictions()
- Disables the translation of the object and its childs completely.
- See Also:
- setTranslate, setCustomTranslate, setFlip, setUpdateReadingOrder, setApplyToChilds
setTranslate
public void setTranslate(boolean value)
- Sets the translate flag. If this is false the object is not translated.
getTranslate
public boolean getTranslate()
- Gets the translate flag.
setCustomTranslate
public void setCustomTranslate(boolean value)
- Specifies whether the custom translation should be applied to the object.
- See Also:
- getCustomTranslate, setTranslate
getCustomTranslate
public boolean getCustomTranslate()
- Retrieves a boolean value that indicates whether the custom translation is applied to the object.
- See Also:
- setCustomTranslate, getTranslate
setFlip
public void setFlip(boolean value)
- Specifies whether the object should be flipped when a bidirectional language is active.
- See Also:
- getFlip, setUpdateReadingOrder
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
setUpdateReadingOrder
public void setUpdateReadingOrder(boolean value)
- Specifies whether the reading order of the object should be updated.
- See Also:
- getUpdateReadingOrder, setFlip
getUpdateReadingOrder
public boolean getUpdateReadingOrder()
- Retrieves a boolean value that indicates whether the reading order of the object is updated.
- See Also:
- setUpdateReadingOrder, getFlip
setApplyToChilds
public void setApplyToChilds(boolean value)
- Specifies whether the restriction should be applied to the child controls as well.
- See Also:
- getApplyToChilds
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