enum FrameAction in module com::sun::star::frame::

(Global Index)

Syntax

enum FrameAction;

Description

These are the events which can happen to the components in frames of the desktop.

Values Summary

COMPONENT_ATTACHED An event of this kind is broadcast whenever a component is attached to a frame.

COMPONENT_DETACHING An event of this kind is broadcast whenever a component is detaching from a frame.

COMPONENT_REATTACHED An event of this kind is broadcast whenever a component is attached to a new model.

FRAME_ACTIVATED An event of this kind is broadcast whenever a component gets activated.

FRAME_DEACTIVATING An event of this kind is broadcasted immediately before the component is deactivated.

CONTEXT_CHANGED An event of this kind is broadcast whenever a component changes its internal context (i.e., the selection).

FRAME_UI_ACTIVATED An event of this kind is broadcast by an active frame when it is getting UI control (tool control).

FRAME_UI_DEACTIVATING An event of this kind is broadcast by an active frame when it is losing UI control (tool control).

Values Details



COMPONENT_ATTACHED

Syntax

COMPONENT_ATTACHED,

Description

An event of this kind is broadcast whenever a component is attached to a frame.

This is almost the same as the instantiation of the component within that frame. The component is attached to the frame immediately before this event is broadcast.

See also

XFrame::activated

COMPONENT_DETACHING

Syntax

COMPONENT_DETACHING,

Description

An event of this kind is broadcast whenever a component is detaching from a frame.

This is quite the same as the destruction of the component which was in that frame. At the moment when the event is broadcast the component is still attached to the frame but in the next moment it won't.


COMPONENT_REATTACHED

Syntax

COMPONENT_REATTACHED,

Description

An event of this kind is broadcast whenever a component is attached to a new model.

In this case the component remains the same but operates on a new model component.


FRAME_ACTIVATED

Syntax

FRAME_ACTIVATED,

Description

An event of this kind is broadcast whenever a component gets activated.

Activations are broacast from the top component which was not active before, down to the inner most component.

See also

XFrame::activated

FRAME_DEACTIVATING

Syntax

FRAME_DEACTIVATING,

Description

An event of this kind is broadcasted immediately before the component is deactivated.

Deactivations are broadcast from the innermost component which does not stay active up to the outer most component which does not stay active.

See also

XFrame::contextChanged

CONTEXT_CHANGED

Syntax

CONTEXT_CHANGED,

Description

An event of this kind is broadcast whenever a component changes its internal context (i.e., the selection).

If the activation status within a frame changes, this counts as a context change too.


FRAME_UI_ACTIVATED

Syntax

FRAME_UI_ACTIVATED,

Description

An event of this kind is broadcast by an active frame when it is getting UI control (tool control).


FRAME_UI_DEACTIVATING

Syntax

FRAME_UI_DEACTIVATING,

Description

An event of this kind is broadcast by an active frame when it is losing UI control (tool control).

Top of Page