Dillo v3.1.1-99-gf3103cc4
Loading...
Searching...
No Matches
dw::fltk::ui::FltkSelectionResource< I > Class Template Referenceabstract

#include <fltkui.hh>

Public Member Functions

 FltkSelectionResource (FltkPlatform *platform)
 
dw::core::Iteratoriterator (dw::core::Content::Type mask, bool atEnd)
 
- Public Member Functions inherited from dw::fltk::ui::FltkSpecificResource< I >
 FltkSpecificResource (FltkPlatform *platform)
 
 ~FltkSpecificResource ()
 
void sizeAllocate (core::Allocation *allocation)
 
void draw (core::View *view, core::Rectangle *area, core::DrawingContext *context)
 
void setStyle (core::style::Style *style)
 
bool isEnabled ()
 
void setEnabled (bool enabled)
 
- Public Member Functions inherited from dw::fltk::ui::FltkResource
 ~FltkResource ()
 
virtual void attachView (FltkView *view)
 
virtual void detachView (FltkView *view)
 
void sizeAllocate (core::Allocation *allocation)
 
void draw (core::View *view, core::Rectangle *area, core::DrawingContext *context)
 
void setStyle (core::style::Style *style)
 
bool isEnabled ()
 
void setEnabled (bool enabled)
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly.
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal.
 
virtual int hashValue ()
 Return a hash value for the object.
 
virtual Objectclone ()
 Return an exact copy of the object.
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object.
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses.
 

Protected Member Functions

virtual bool setSelectedItems ()
 
virtual void addItem (const char *str, bool enabled, bool selected)=0
 
virtual void setItem (int index, bool selected)=0
 
virtual void pushGroup (const char *name, bool enabled)=0
 
virtual void popGroup ()=0
 
- Protected Member Functions inherited from dw::fltk::ui::FltkResource
 FltkResource (FltkPlatform *platform)
 
void init (FltkPlatform *platform)
 This is not a constructor, since it calls some virtual methods, which should not be done in a C++ base constructor.
 
virtual Fl_Widget * createNewWidget (core::Allocation *allocation)=0
 
virtual void setWidgetStyle (Fl_Widget *widget, core::style::Style *style)
 
void setDisplayed (bool displayed)
 
bool displayed ()
 

Additional Inherited Members

- Protected Attributes inherited from dw::fltk::ui::FltkResource
FltkViewview
 
Fl_Widget * widget
 
core::Allocation allocation
 
FltkPlatformplatform
 
core::style::Stylestyle
 

Detailed Description

template<class I>
class dw::fltk::ui::FltkSelectionResource< I >

Definition at line 459 of file fltkui.hh.

Constructor & Destructor Documentation

◆ FltkSelectionResource()

template<class I >
dw::fltk::ui::FltkSelectionResource< I >::FltkSelectionResource ( FltkPlatform platform)
inline

Definition at line 469 of file fltkui.hh.

Member Function Documentation

◆ addItem()

template<class I >
virtual void dw::fltk::ui::FltkSelectionResource< I >::addItem ( const char *  str,
bool  enabled,
bool  selected 
)
protectedpure virtual

◆ iterator()

template<class I >
dw::core::Iterator * dw::fltk::ui::FltkSelectionResource< I >::iterator ( dw::core::Content::Type  mask,
bool  atEnd 
)
Bug:
Implementation.

Definition at line 1361 of file fltkui.cc.

◆ popGroup()

template<class I >
virtual void dw::fltk::ui::FltkSelectionResource< I >::popGroup ( )
protectedpure virtual

◆ pushGroup()

template<class I >
virtual void dw::fltk::ui::FltkSelectionResource< I >::pushGroup ( const char *  name,
bool  enabled 
)
protectedpure virtual

◆ setItem()

template<class I >
virtual void dw::fltk::ui::FltkSelectionResource< I >::setItem ( int  index,
bool  selected 
)
protectedpure virtual

◆ setSelectedItems()

template<class I >
virtual bool dw::fltk::ui::FltkSelectionResource< I >::setSelectedItems ( )
inlineprotectedvirtual

Reimplemented in dw::fltk::ui::FltkOptionMenuResource.

Definition at line 463 of file fltkui.hh.


The documentation for this class was generated from the following files: