Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: frame ::

enum FrameAction
Description
these are the events which can happen to the components in frames of the desktop

Interest listener can get informations about loaded/realoed or unloaded components into a Frame.

See also
XFrame, XFrameActionListener, FrameActionEvent

Values
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
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::setComponent()
COMPONENT_DETACHING
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.

See also
XFrame::setComponent()
COMPONENT_REATTACHED
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
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::activate()
FRAME_DEACTIVATING
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::deactivate()
CONTEXT_CHANGED
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.

See also
XFrame::contextChanged()
FRAME_UI_ACTIVATED
FRAME_UI_ACTIVATED,
Description
an event of this kind is broadcast by an active frame when it is getting UI control (tool control).
See also
XFrame::activate()
FRAME_UI_DEACTIVATING
FRAME_UI_DEACTIVATING,
Description
an event of this kind is broadcast by an active frame when it is losing UI control (tool control).
See also
XFrame::deactivate()
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.