2005/5/9

     
 

class ListBox

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::wx::ListBox Class Reference

#include <ListBox.h>

Inheritance diagram for acdk::wx::ListBox:

acdk::wx::ControlWithItems acdk::wx::Control acdk::wx::Window acdk::wx::EvtHandler acdk::wx::WxObject acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

see wxListBox

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.8
Date:
Date
2005/02/05 10:45:35


Public Member Functions

 ListBox ()
 ListBox (IN(RWindow) parent, int id, IN(RPoint) pos=Point::defaultPosition(), IN(RSize) size=Size::defaultSize(), IN(RStringArray) choices=Nil, int style=0, IN(RValidator) validator=Validator::defaultValidator(), IN(RString) name=)
void clear ()
void deleteItem (int n)
int getCount () const
RString getString (int n) const
void setString (int n, IN(RString) s)
int findString (IN(RString) s) const
bool isSelected (int n) const
void setSelection (int n, bool select=true)
int getSelection () const
int append (IN(RString) item)
RString getStringSelection () const
void insert (IN(RString) item, int pos)
void insert (IN(RString) item, int pos, IN(acdk::lang::Object) clientData)
void insertItems (IN(RStringArray) items, int pos)
void set (IN(RStringArray) items)
virtual void select (int n)
void deselect (int n)
void deselectAll (int itemToLeaveSelected=-1)
virtual bool setStringSelection (IN(RString) s, bool select=true)
virtual int getSelections (IN(RintArray) aSelections) const
void setFirstItem (int n)
void setFirstItem (IN(RString) s)
virtual void ensureVisible (int n)
void appendAndEnsureVisible (IN(RString) s)
bool hasMultipleSelection () const
bool isSorted () const
void command (IN(RCommandEvent) event)
bool selected (int n) const


Constructor & Destructor Documentation

acdk::wx::ListBox::ListBox (   )  [inline]
 

acdk::wx::ListBox::ListBox (  IN(RWindow)  parent,
int  id,
IN(RPoint)  pos = Point::defaultPosition(),
IN(RSize)  size = Size::defaultSize(),
IN(RStringArray)  choices = Nil,
int  style = 0,
IN(RValidator)  validator = Validator::defaultValidator(),
IN(RString)  name =
)  [inline]
 


Member Function Documentation

int acdk::wx::ListBox::append (  IN(RString)  item  )  [inline]
 

void acdk::wx::ListBox::appendAndEnsureVisible (  IN(RString)  s  )  [inline]
 

void acdk::wx::ListBox::clear (   )  [inline]
 

Reimplemented from acdk::wx::Window.

void acdk::wx::ListBox::command (  IN(RCommandEvent)  event  )  [inline, virtual]
 

Reimplemented from acdk::wx::Control.

void acdk::wx::ListBox::deleteItem (  int  n  )  [inline]
 

void acdk::wx::ListBox::deselect (  int  n  )  [inline]
 

void acdk::wx::ListBox::deselectAll (  int  itemToLeaveSelected = -1  )  [inline]
 

virtual void acdk::wx::ListBox::ensureVisible (  int  n  )  [inline, virtual]
 

int acdk::wx::ListBox::findString (  IN(RString)  s  )  const [inline]
 

int acdk::wx::ListBox::getCount (   )  const [inline]
 

int acdk::wx::ListBox::getSelection (   )  const [inline]
 

virtual int acdk::wx::ListBox::getSelections (  IN(RintArray)  aSelections  )  const [inline, virtual]
 

RString acdk::wx::ListBox::getString (  int  n  )  const [inline]
 

RString acdk::wx::ListBox::getStringSelection (   )  const [inline]
 

bool acdk::wx::ListBox::hasMultipleSelection (   )  const [inline]
 

void acdk::wx::ListBox::insert (  IN(RString)  item,
int  pos,
IN(acdk::lang::Object)  clientData
)  [inline]
 

void acdk::wx::ListBox::insert (  IN(RString)  item,
int  pos
)  [inline]
 

void acdk::wx::ListBox::insertItems (  IN(RStringArray)  items,
int  pos
)  [inline]
 

bool acdk::wx::ListBox::isSelected (  int  n  )  const [inline]
 

bool acdk::wx::ListBox::isSorted (   )  const [inline]
 

virtual void acdk::wx::ListBox::select (  int  n  )  [inline, virtual]
 

bool acdk::wx::ListBox::selected (  int  n  )  const [inline]
 

void acdk::wx::ListBox::set (  IN(RStringArray)  items  )  [inline]
 

void acdk::wx::ListBox::setFirstItem (  IN(RString)  s  )  [inline]
 

void acdk::wx::ListBox::setFirstItem (  int  n  )  [inline]
 

void acdk::wx::ListBox::setSelection (  int  n,
bool  select = true
)  [inline]
 

void acdk::wx::ListBox::setString (  int  n,
IN(RString)  s
)  [inline]
 

virtual bool acdk::wx::ListBox::setStringSelection (  IN(RString)  s,
bool  select = true
)  [inline, virtual]