00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _CEGUITreeProperties_h_
00029 #define _CEGUITreeProperties_h_
00030
00031 #include "CEGUIProperty.h"
00032
00033
00034
00035 namespace CEGUI
00036 {
00037
00038
00044 namespace TreeProperties
00045 {
00058 class Sort : public Property
00059 {
00060 public:
00061 Sort() : Property(
00062 "Sort",
00063 "Property to get/set the sort setting of the tree. "
00064 "Value is either \"True\" or \"False\".",
00065 "False")
00066 {}
00067
00068 String get(const PropertyReceiver* receiver) const;
00069 void set(PropertyReceiver* receiver, const String& value);
00070 };
00071
00072
00085 class MultiSelect : public Property
00086 {
00087 public:
00088 MultiSelect() : Property(
00089 "MultiSelect",
00090 "Property to get/set the multi-select setting of the tree. "
00091 "Value is either \"True\" or \"False\".",
00092 "False")
00093 {}
00094
00095 String get(const PropertyReceiver* receiver) const;
00096 void set(PropertyReceiver* receiver, const String& value);
00097 };
00098
00099
00114 class ForceVertScrollbar : public Property
00115 {
00116 public:
00117 ForceVertScrollbar() : Property(
00118 "ForceVertScrollbar",
00119 "Property to get/set the 'always show' setting for the vertical scroll "
00120 "bar of the tree. Value is either \"True\" or \"False\".",
00121 "False")
00122 {}
00123
00124 String get(const PropertyReceiver* receiver) const;
00125 void set(PropertyReceiver* receiver, const String& value);
00126 };
00127
00128
00144 class ForceHorzScrollbar : public Property
00145 {
00146 public:
00147 ForceHorzScrollbar() : Property(
00148 "ForceHorzScrollbar",
00149 "Property to get/set the 'always show' setting for the horizontal "
00150 "scroll bar of the tree. Value is either \"True\" or \"False\".",
00151 "False")
00152 {}
00153
00154 String get(const PropertyReceiver* receiver) const;
00155 void set(PropertyReceiver* receiver, const String& value);
00156 };
00157
00171 class ItemTooltips : public Property
00172 {
00173 public:
00174 ItemTooltips() : Property(
00175 "ItemTooltips",
00176 "Property to access the show item tooltips setting of the tree. "
00177 "Value is either \"True\" or \"False\".",
00178 "False")
00179 {}
00180
00181 String get(const PropertyReceiver* receiver) const;
00182 void set(PropertyReceiver* receiver, const String& value);
00183 };
00184
00185 }
00186
00187 }
00188
00189 #endif // end of guard _CEGUITreeProperties_h_