Pakiet | spark.core |
Interfejs | public interface IGraphicElementContainer |
Implementory | Group, IconItemRenderer |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.0 |
IGraphicElement
children.
Typically instead of directly implementing this interface, a developer would sub-class Group which already implements the IGraphicElementContainer interface.
Powiązane elementy interfejsu API
Metoda | Zdefiniowane przez | ||
---|---|---|---|
Notify the host component that an element has changed and needs to be redrawn. | IGraphicElementContainer | ||
Notify the host component that an element changed and needs to validate properties. | IGraphicElementContainer | ||
Notify the host component that an element layer has changed. | IGraphicElementContainer | ||
Notify the host component that an element size has changed. | IGraphicElementContainer |
invalidateGraphicElementDisplayList | () | metoda |
public function invalidateGraphicElementDisplayList(element:IGraphicElement):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.0 |
Notify the host component that an element has changed and needs to be redrawn.
The IGraphicElementContainer
must call the validateDisplayList()
method on the IGraphicElement to give it a chance to redraw.
Typically the host will validate the elements' display lists in its
validateDisplayList()
method.
Parametry
element:IGraphicElement — The element that has changed.
|
invalidateGraphicElementProperties | () | metoda |
public function invalidateGraphicElementProperties(element:IGraphicElement):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.0 |
Notify the host component that an element changed and needs to validate properties.
The IGraphicElementContainer
must call the validateProperties()
method on the IGraphicElement to give it a chance to commit its properties.
Typically the host will validate the elements' properties in its
validateProperties()
method.
Parametry
element:IGraphicElement — The element that has changed.
|
invalidateGraphicElementSharing | () | metoda |
public function invalidateGraphicElementSharing(element:IGraphicElement):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.0 |
Notify the host component that an element layer has changed.
The IGraphicElementContainer
must re-evaluates the sequences of
graphic elements with shared DisplayObjects and may need to re-assign the
DisplayObjects and redraw the sequences as a result.
Typically the host will perform this in its
validateProperties()
method.
Parametry
element:IGraphicElement — The element that has changed size.
|
invalidateGraphicElementSize | () | metoda |
public function invalidateGraphicElementSize(element:IGraphicElement):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.0 |
Notify the host component that an element size has changed.
The IGraphicElementContainer
must call the validateSize()
method on the IGraphicElement to give it a chance to validate its size.
Typically the host will validate the elements' size in its
validateSize()
method.
Parametry
element:IGraphicElement — The element that has changed size.
|
Tue Jun 12 2018, 12:06 PM Z