Components are the building blocks of XELFI IDE. They are situated in
Component Palette in main Xelfi Window. Component Palette consists of several
page tabs. Each page tab in the Component palette displays a group of icons
representing the components used to design your application interface.
You can edit the Component Palette using Palette Manager (see chapter
??? Palette Manager).
Component Palette can be in two modes: selection and addition. Selection
mode (white arrow at the left side of the palette is pressed) means that
you can select components in form. When the shift key is pressed during
selection, you select/deselect more than one component. (see chapter ???).
The second mode is addition mode. In Component Palette is pressed some
component button and when you click in the area of form you add this component.
If you hold down shift key then you can add multiple components of the
same type, otherwise after adding first component automatic shift to selection
mode is performed.
Palette Manager
Palette manager you can find in menu Design. The window of palette manager
is shown on the picture. You can edit the list of the pages (1) and in
each page you can see and edit the list of the components (2). To change
the order of the pages use spinbutton (3). Selected page is moved either
up or down. At the current position you can insert new blank page by pressing
button Insert (4). For remove page and rename page use buttons (5) and
(6).
In each page you can add new components (8) at the position of cursor
in the list (2). You have to insert full name of Xcomponent with the package
and the name of the component class (like "xelfi.design.components.xawt.Xbutton").
To remove selected component from the list just press Delete button (9).
When you press default button (10) configuration of Component palette will
be set as default (3 pages: Standard, Extended and Samples). Ok (11) and
Cancel (12) have usual functions.