## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# iAwsComponent Struct Reference
[AWS, AWS]

Interface that is the base of ALL components. More...

`#include <iaws/aws.h>`

Inheritance diagram for iAwsComponent:

[legend]
List of all members.

## Public Member Functions

virtual void | AddChild (iAwsComponent *child)=0
| Adds a child into this component.
virtual void | AddToLayout (iAwsComponent *cmp, iAwsComponentNode *settings)=0
| Adds a component to this component's layout.
virtual bool | AddToTabOrder (iAwsComponent *child)=0
| Add child to TabOrder Actually at this moment TabOrder is an array that contains all children of component ordered by their creation.
virtual iAwsComponent * | ChildAt (int x, int y)=0
| Returns the highest child (if any) whose frame contains (x,y).
virtual void | ClearFlag (unsigned int flag)=0
| Clears the flag (can handle multiple simultaneous clears).
virtual void | clearPreferredSize ()=0
| Clear the manually set preferred size.
virtual csRect | ClientFrame ()=0
| Get this component's client area.
virtual iAwsComponent * | ComponentAbove ()=0
| Get's the component above this one, 0 if there is none.
virtual iAwsComponent * | ComponentBelow ()=0
| Get's the component below this one, 0 if there is none.
virtual bool | Create (iAws *mgr, iAwsComponent *parent, iAwsComponentNode *settings)=0
| This function takes care of the creation tasks required to prepare this component for use.
virtual iAwsComponent * | DoFindChild (unsigned id)=0
| Gets a child component by id, returns 0 on failure.
virtual bool | Execute (const char *action, iAwsParmList *parmlist=0)=0
| Executes a scriptable action.
virtual iAwsComponent * | FindChild (const char *name)=0
| Gets a child component by name, returns 0 on failure.
virtual unsigned int | Flags ()=0
| Returns the current state of the flags.
virtual bool | Focusable ()=0
| Returns focusable flag.
virtual csRect | Frame ()=0
| Get this component's frame.
virtual int | GetChildCount ()=0
| Get's the number of children.
virtual iAwsComponent * | GetFirstFocusableChild (iAwsComponent *comp)=0
| Returns first focusable component on this window.
virtual unsigned long | GetID ()=0
| Get's the unique id of this component.
virtual csRect | getInsets ()=0
| Gets the inset amounts that are needed to fit components properly.
virtual bool | GetMarkToDelete ()=0
| Return the delete mark.
virtual csRect | getMinimumSize ()=0
| Gets the minimum size that the component can be.
virtual csRect | getPreferredSize ()=0
| Gets the preferred size of the component.
virtual AWS_VOIDP_IS_WARNING bool | GetProperty (const char *name, void **parm)=0
| Gets a copy of the property, put it in parm.
virtual bool | GetProperty (const char *name, intptr_t *parm)=0
| Gets a copy of the property, put it in parm.
virtual iAwsComponent * | GetTabComponent (int index)=0
| Returns component from TabOrder, 0 if there is none or index is invalid.
virtual int | GetTabLength ()=0
| Returns TabOrder length.
virtual iAwsComponent * | GetTopChild ()=0
| Get's a specific child.
virtual bool | HandleEvent (iEvent &Event)=0
| Event dispatcher, demultiplexes events and sends them off to the proper event handler.
virtual bool | HasChildren ()=0
| Returns true if this component has children.
virtual void | Hide ()=0
| Hides a component.
virtual void | Invalidate (csRect area)=0
| Invalidation routine: allow component to be redrawn, but only part of it.
virtual void | Invalidate ()=0
| Invalidation routine: allow the component to be redrawn when you call this.
virtual bool | isDeaf ()=0
| Returns the state of the DEAF flag.
virtual bool | isFocused ()=0
| Returns the state of the focused flag.
virtual bool | isHidden ()=0
| Returns the state of the hidden flag.
virtual bool | IsMaximized ()=0
| Returns true if the component is maximized.
virtual iAwsLayoutManager * | Layout ()=0
| Gets the layout manager for this component.
virtual void | LayoutChildren ()=0
| Resizes all the children of this component using the current layout.
virtual void | LinkAbove (iAwsComponent *comp)=0
| Links a component into the hierarchy as a sibling above comp.
virtual void | LinkBelow (iAwsComponent *comp)=0
| Links a component into the hierarchy as a sibling below comp.
virtual void | Lower ()=0
| Moves this component below all its siblings.
virtual void | MarkToDelete ()=0
| Mark the component to be deleted in PreProcess phase of the next frame.
virtual void | Maximize ()=0
| Maximizes this component.
virtual void | Move (int delta_x, int delta_y)=0
| Moves a component.
virtual void | MoveTo (int x, int y)=0
| Moves a component to an absolute location.
virtual void | OnAdded ()=0
| Triggered when a child is added to the parent (triggered on the child).
virtual void | OnChildHide ()=0
| Triggered when a child becomes hidden.
virtual void | OnChildMoved ()=0
| Triggered when a child component has been moved.
virtual void | OnChildShow ()=0
| Triggered when a child becomes shown.
virtual void | OnDraw (csRect clip)=0
| Triggered when the component needs to draw.
virtual bool | OnFrame ()=0
| Triggered at the start of each frame.
virtual bool | OnGainFocus ()=0
| Triggered when the keyboard focus is gained.
virtual bool | OnKeyboard (const csKeyEventData &eventData)=0
| Triggered when the user presses a key.
virtual bool | OnLostFocus ()=0
| Triggered when the keyboard focus is lost.
virtual void | OnLower ()=0
| Triggered when the Lower function is called.
virtual bool | OnMouseClick (int button, int x, int y)=0
| Triggered when the user clicks the mouse.
virtual bool | OnMouseDoubleClick (int button, int x, int y)=0
| Triggered when the user double clicks the mouse.
virtual bool | OnMouseDown (int button, int x, int y)=0
| Triggered when the user presses a mouse button down.
virtual bool | OnMouseEnter ()=0
| Triggered when this component gains mouse focus.
virtual bool | OnMouseExit ()=0
| Triggered when this component loses mouse focus.
virtual bool | OnMouseMove (int button, int x, int y)=0
| Triggered when the user moves the mouse.
virtual bool | OnMouseUp (int button, int x, int y)=0
| Triggered when the user unpresses a mouse button.
virtual void | OnRaise ()=0
| Triggered when the Raise function is called.
virtual void | OnResized ()=0
| Triggered when a component is resized by the layout manager.
virtual void | OnSetFocus ()=0
| Triggered when a child becomes focused.
virtual void | OnUnsetFocus ()=0
| Triggered when a child becomes unfocused.
virtual bool | Overlaps (csRect &r)=0
| Returns true if this window overlaps the given rect.
virtual iAwsComponent * | Parent ()=0
| Gets the parent component of this component.
virtual void | Raise ()=0
| Moves this component above all its siblings.
virtual unsigned int | RedrawTag ()=0
| Gets the value of the redraw tag.
virtual void | RemoveChild (iAwsComponent *child)=0
| Removes a child from this component.
virtual void | Resize (int width, int height)=0
| Resizes a component.
virtual void | ResizeTo (csRect newFrame)=0
| Resizes a component to an absolute rect.
virtual void | SetComponentAbove (iAwsComponent *comp)=0
| Set's the component above this one.
virtual void | SetComponentBelow (iAwsComponent *comp)=0
| Set's the component below this one.
virtual void | SetDeaf (bool bDeaf)=0
| set deaf/not deaf
virtual void | SetFlag (unsigned int flag)=0
| Sets the flag (can handle multiple simultaneous sets).
virtual void | SetFocus ()=0
| Focus a component.
virtual void | SetFocusable (bool _focusable)=0
| Sets focusable flag.
virtual void | SetID (unsigned long _id)=0
| Set's the unique id of this component.
virtual void | SetLayout (iAwsLayoutManager *layout)=0
| Sets the layout manager for this component.
virtual void | SetParent (iAwsComponent *parent)=0
| Sets the parent component of this component.
virtual void | setPreferredSize (const csRect &size)=0
| Set the preferred size of the component.
virtual AWS_VOIDP_IS_WARNING bool | SetProperty (const char *name, void *parm)=0
| Sets the property specified to whatever is in parm.
virtual bool | SetProperty (const char *name, intptr_t parm)=0
| Sets the property specified to whatever is in parm.
virtual void | SetRedrawTag (unsigned int tag)=0
| Sets the value of the redraw tag.
virtual void | SetTopChild (iAwsComponent *child)=0
| Sets the top child.
virtual bool | Setup (iAws *wmgr, iAwsComponentNode *settings)=0
| Sets up a component.
virtual void | Show ()=0
| Shows a component.
virtual iAwsComponent * | TabNext (iAwsComponent *child)=0
| Get's next child component in parent TabOrder, First if there is none, 0, if child not belongs to this component.
virtual iAwsComponent * | TabPrev (iAwsComponent *child)=0
| Get's previous child component in parent TabOrder, Last if there is none, 0, if child not belongs to this component.
virtual const char * | Type ()=0
| Returns the named TYPE of the component, like "Radio Button", etc.
virtual void | Unlink ()=0
| Removes a component from the hierarchy.
virtual void | UnMaximize ()=0
| Returns the component to its unmaximized size.
virtual void | UnsetFocus ()=0
| Unfocus a component.
virtual iAwsComponent * | Window ()=0
| Gets the window this component is in.
virtual iAws * | WindowManager ()=0
| Should be used ONLY by this component, or an embedding object.

## Detailed Description

Interface that is the base of ALL components.

Definition at line 813 of file aws.h.

## Member Function Documentation

virtual void iAwsComponent::AddChild | ( | iAwsComponent * | child | ) | `[pure virtual]`

| Adds a child into this component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::AddToLayout | ( | iAwsComponent * | cmp,
|  | iAwsComponentNode * | settings
| ) | `[pure virtual]`

| Adds a component to this component's layout. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::AddToTabOrder | ( | iAwsComponent * | child | ) | `[pure virtual]`

| Add child to TabOrder Actually at this moment TabOrder is an array that contains all children of component ordered by their creation. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::ChildAt | ( | int | x,
|  | int | y
| ) | `[pure virtual]`

| Returns the highest child (if any) whose frame contains (x,y). Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::ClearFlag | ( | unsigned int | flag | ) | `[pure virtual]`

Clears the flag (can handle multiple simultaneous clears).

`flag` is one of AWSF_CMP_*.

See also:
  Component flags

Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::clearPreferredSize | ( |  | ) | `[pure virtual]`

| Clear the manually set preferred size. Implemented in awsEmbeddedComponent.

virtual csRect iAwsComponent::ClientFrame | ( |  | ) | `[pure virtual]`

| Get this component's client area. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::ComponentAbove | ( |  | ) | `[pure virtual]`

| Get's the component above this one, 0 if there is none. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::ComponentBelow | ( |  | ) | `[pure virtual]`

| Get's the component below this one, 0 if there is none. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::Create | ( | iAws * | mgr,
|  | iAwsComponent * | parent,
|  | iAwsComponentNode * | settings
| ) | `[pure virtual]`

This function takes care of the creation tasks required to prepare this component for use.

If you create a component via the window manager's creation functions then you should not call this, the window manager has done it for you. If you create components programatically then you are encouraged to call this func to make setup easier. For component developers, you should not need to override Create but rather do your setup work in Setup.

If it returns false then the component was not able to initialize properly and shouldn't be used.

Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::DoFindChild | ( | unsigned | id | ) | `[pure virtual]`

| Gets a child component by id, returns 0 on failure.

virtual bool iAwsComponent::Execute | ( | const char * | action,
|  | iAwsParmList * | parmlist = `0`
| ) | `[pure virtual]`

| Executes a scriptable action. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::FindChild | ( | const char * | name | ) | `[pure virtual]`

| Gets a child component by name, returns 0 on failure. Implemented in awsEmbeddedComponent.

virtual unsigned int iAwsComponent::Flags | ( |  | ) | `[pure virtual]`

Returns the current state of the flags.

`flag` is one of AWSF_CMP_*.

See also:
  Component flags

Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::Focusable | ( |  | ) | `[pure virtual]`

| Returns focusable flag. Implemented in awsEmbeddedComponent.

virtual csRect iAwsComponent::Frame | ( |  | ) | `[pure virtual]`

| Get this component's frame. Implemented in awsEmbeddedComponent.

virtual int iAwsComponent::GetChildCount | ( |  | ) | `[pure virtual]`

| Get's the number of children. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::GetFirstFocusableChild | ( | iAwsComponent * | comp | ) | `[pure virtual]`

| Returns first focusable component on this window. Implemented in awsEmbeddedComponent. Referenced by awsEmbeddedComponent::GetFirstFocusableChild().

virtual unsigned long iAwsComponent::GetID | ( |  | ) | `[pure virtual]`

| Get's the unique id of this component. Implemented in awsEmbeddedComponent.

virtual csRect iAwsComponent::getInsets | ( |  | ) | `[pure virtual]`

| Gets the inset amounts that are needed to fit components properly. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::GetMarkToDelete | ( |  | ) | `[pure virtual]`

| Return the delete mark. Implemented in awsEmbeddedComponent.

virtual csRect iAwsComponent::getMinimumSize | ( |  | ) | `[pure virtual]`

| Gets the minimum size that the component can be. Implemented in awsEmbeddedComponent.

virtual csRect iAwsComponent::getPreferredSize | ( |  | ) | `[pure virtual]`

| Gets the preferred size of the component. Implemented in awsEmbeddedComponent.

virtual AWS_VOIDP_IS_WARNING bool iAwsComponent::GetProperty | ( | const char * | name,
|  | void ** | parm
| ) | `[pure virtual]`

Gets a copy of the property, put it in parm.

Returns false if the property does not exist.

Deprecated:
  For proper 64-bit platform support, use the intptr_t version of GetProperty().

Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::GetProperty | ( | const char * | name,
|  | intptr_t * | parm
| ) | `[pure virtual]`

| Gets a copy of the property, put it in parm. Returns false if the property does not exist. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::GetTabComponent | ( | int | index | ) | `[pure virtual]`

| Returns component from TabOrder, 0 if there is none or index is invalid. Implemented in awsEmbeddedComponent.

virtual int iAwsComponent::GetTabLength | ( |  | ) | `[pure virtual]`

| Returns TabOrder length. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::GetTopChild | ( |  | ) | `[pure virtual]`

| Get's a specific child. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::HandleEvent | ( | iEvent & | Event | ) | `[pure virtual]`

| Event dispatcher, demultiplexes events and sends them off to the proper event handler. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::HasChildren | ( |  | ) | `[pure virtual]`

| Returns true if this component has children. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::Hide | ( |  | ) | `[pure virtual]`

| Hides a component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::Invalidate | ( | csRect | area | ) | `[pure virtual]`

| Invalidation routine: allow component to be redrawn, but only part of it. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::Invalidate | ( |  | ) | `[pure virtual]`

| Invalidation routine: allow the component to be redrawn when you call this. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::isDeaf | ( |  | ) | `[pure virtual]`

| Returns the state of the DEAF flag. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::isFocused | ( |  | ) | `[pure virtual]`

| Returns the state of the focused flag. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::isHidden | ( |  | ) | `[pure virtual]`

| Returns the state of the hidden flag. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::IsMaximized | ( |  | ) | `[pure virtual]`

| Returns true if the component is maximized. Implemented in awsEmbeddedComponent.

virtual iAwsLayoutManager* iAwsComponent::Layout | ( |  | ) | `[pure virtual]`

| Gets the layout manager for this component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::LayoutChildren | ( |  | ) | `[pure virtual]`

| Resizes all the children of this component using the current layout. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::LinkAbove | ( | iAwsComponent * | comp | ) | `[pure virtual]`

| Links a component into the hierarchy as a sibling above comp. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::LinkBelow | ( | iAwsComponent * | comp | ) | `[pure virtual]`

| Links a component into the hierarchy as a sibling below comp. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::Lower | ( |  | ) | `[pure virtual]`

| Moves this component below all its siblings. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::MarkToDelete | ( |  | ) | `[pure virtual]`

| Mark the component to be deleted in PreProcess phase of the next frame. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::Maximize | ( |  | ) | `[pure virtual]`

| Maximizes this component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::Move | ( | int | delta_x,
|  | int | delta_y
| ) | `[pure virtual]`

| Moves a component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::MoveTo | ( | int | x,
|  | int | y
| ) | `[pure virtual]`

| Moves a component to an absolute location. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::OnAdded | ( |  | ) | `[pure virtual]`

| Triggered when a child is added to the parent (triggered on the child). Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::OnChildHide | ( |  | ) | `[pure virtual]`

| Triggered when a child becomes hidden. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::OnChildMoved | ( |  | ) | `[pure virtual]`

| Triggered when a child component has been moved. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::OnChildShow | ( |  | ) | `[pure virtual]`

| Triggered when a child becomes shown. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::OnDraw | ( | csRect | clip | ) | `[pure virtual]`

| Triggered when the component needs to draw. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnFrame | ( |  | ) | `[pure virtual]`

| Triggered at the start of each frame. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnGainFocus | ( |  | ) | `[pure virtual]`

| Triggered when the keyboard focus is gained. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnKeyboard | ( | const csKeyEventData & | eventData | ) | `[pure virtual]`

| Triggered when the user presses a key. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnLostFocus | ( |  | ) | `[pure virtual]`

| Triggered when the keyboard focus is lost. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::OnLower | ( |  | ) | `[pure virtual]`

| Triggered when the Lower function is called. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnMouseClick | ( | int | button,
|  | int | x,
|  | int | y
| ) | `[pure virtual]`

| Triggered when the user clicks the mouse. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnMouseDoubleClick | ( | int | button,
|  | int | x,
|  | int | y
| ) | `[pure virtual]`

| Triggered when the user double clicks the mouse. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnMouseDown | ( | int | button,
|  | int | x,
|  | int | y
| ) | `[pure virtual]`

| Triggered when the user presses a mouse button down. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnMouseEnter | ( |  | ) | `[pure virtual]`

| Triggered when this component gains mouse focus. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnMouseExit | ( |  | ) | `[pure virtual]`

| Triggered when this component loses mouse focus. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnMouseMove | ( | int | button,
|  | int | x,
|  | int | y
| ) | `[pure virtual]`

| Triggered when the user moves the mouse. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::OnMouseUp | ( | int | button,
|  | int | x,
|  | int | y
| ) | `[pure virtual]`

| Triggered when the user unpresses a mouse button. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::OnRaise | ( |  | ) | `[pure virtual]`

| Triggered when the Raise function is called. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::OnResized | ( |  | ) | `[pure virtual]`

| Triggered when a component is resized by the layout manager. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::OnSetFocus | ( |  | ) | `[pure virtual]`

| Triggered when a child becomes focused. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::OnUnsetFocus | ( |  | ) | `[pure virtual]`

| Triggered when a child becomes unfocused. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::Overlaps | ( | csRect & | r | ) | `[pure virtual]`

| Returns true if this window overlaps the given rect. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::Parent | ( |  | ) | `[pure virtual]`

| Gets the parent component of this component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::Raise | ( |  | ) | `[pure virtual]`

| Moves this component above all its siblings. Implemented in awsEmbeddedComponent.

virtual unsigned int iAwsComponent::RedrawTag | ( |  | ) | `[pure virtual]`

| Gets the value of the redraw tag. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::RemoveChild | ( | iAwsComponent * | child | ) | `[pure virtual]`

| Removes a child from this component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::Resize | ( | int | width,
|  | int | height
| ) | `[pure virtual]`

| Resizes a component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::ResizeTo | ( | csRect | newFrame | ) | `[pure virtual]`

| Resizes a component to an absolute rect. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetComponentAbove | ( | iAwsComponent * | comp | ) | `[pure virtual]`

| Set's the component above this one. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetComponentBelow | ( | iAwsComponent * | comp | ) | `[pure virtual]`

| Set's the component below this one. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetDeaf | ( | bool | bDeaf | ) | `[pure virtual]`

| set deaf/not deaf Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetFlag | ( | unsigned int | flag | ) | `[pure virtual]`

Sets the flag (can handle multiple simultaneous sets).

`flag` is one of AWSF_CMP_*.

See also:
  Component flags

Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetFocus | ( |  | ) | `[pure virtual]`

| Focus a component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetFocusable | ( | bool | _focusable | ) | `[pure virtual]`

| Sets focusable flag. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetID | ( | unsigned long | _id | ) | `[pure virtual]`

| Set's the unique id of this component. Note: only to be used by window manager. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetLayout | ( | iAwsLayoutManager * | layout | ) | `[pure virtual]`

| Sets the layout manager for this component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetParent | ( | iAwsComponent * | parent | ) | `[pure virtual]`

| Sets the parent component of this component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::setPreferredSize | ( | const csRect & | size | ) | `[pure virtual]`

| Set the preferred size of the component. Implemented in awsEmbeddedComponent.

virtual AWS_VOIDP_IS_WARNING bool iAwsComponent::SetProperty | ( | const char * | name,
|  | void * | parm
| ) | `[pure virtual]`

Sets the property specified to whatever is in parm.

Returns false if there's no such property.

Deprecated:
  For proper 64-bit platform support, use the intptr_t version of SetProperty().

Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::SetProperty | ( | const char * | name,
|  | intptr_t | parm
| ) | `[pure virtual]`

| Sets the property specified to whatever is in parm. Returns false if there's no such property. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetRedrawTag | ( | unsigned int | tag | ) | `[pure virtual]`

| Sets the value of the redraw tag. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::SetTopChild | ( | iAwsComponent * | child | ) | `[pure virtual]`

| Sets the top child. Implemented in awsEmbeddedComponent.

virtual bool iAwsComponent::Setup | ( | iAws * | wmgr,
|  | iAwsComponentNode * | settings
| ) | `[pure virtual]`

| Sets up a component. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::Show | ( |  | ) | `[pure virtual]`

| Shows a component. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::TabNext | ( | iAwsComponent * | child | ) | `[pure virtual]`

| Get's next child component in parent TabOrder, First if there is none, 0, if child not belongs to this component. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::TabPrev | ( | iAwsComponent * | child | ) | `[pure virtual]`

| Get's previous child component in parent TabOrder, Last if there is none, 0, if child not belongs to this component. Implemented in awsEmbeddedComponent.

virtual const char* iAwsComponent::Type | ( |  | ) | `[pure virtual]`

| Returns the named TYPE of the component, like "Radio Button", etc. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::Unlink | ( |  | ) | `[pure virtual]`

| Removes a component from the hierarchy. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::UnMaximize | ( |  | ) | `[pure virtual]`

| Returns the component to its unmaximized size. Implemented in awsEmbeddedComponent.

virtual void iAwsComponent::UnsetFocus | ( |  | ) | `[pure virtual]`

| Unfocus a component. Implemented in awsEmbeddedComponent.

virtual iAwsComponent* iAwsComponent::Window | ( |  | ) | `[pure virtual]`

| Gets the window this component is in. Implemented in awsEmbeddedComponent.

virtual iAws* iAwsComponent::WindowManager | ( |  | ) | `[pure virtual]`

| Should be used ONLY by this component, or an embedding object. Implements iAwsSource. Implemented in awsEmbeddedComponent.

The documentation for this struct was generated from the following file:

- iaws/aws.h