Inherits from
- BasicEditorFactory: enthought.traits.ui.wx.basic_editor_factory.BasicEditorFactory
Attributes
- auto_select
Should an external selection be automatically selected in the editor?
auto_select = true
- auto_size
Should the cells of the table automatically size to the optimal size?
auto_size = false
- cell_bg_color
The default color to use for cell backgrounds
cell_bg_color = Color(WindowColor)
- cell_color
The default color to use for text in cells
cell_color = Color('black')
- cell_font
The default font to use for text in cells
cell_font = Font
- cell_read_only_bg_color
The default color to use for read-only cell backgrounds
cell_read_only_bg_color = Color(16316401)
- choose_reduction_filter
Can the user choose the reduction filter?
choose_reduction_filter = true
- choose_selection_filter
Can the user choose the selection filter?
choose_selection_filter = true
- column_label_height
Height (in pixels) of column labels
column_label_height = Int(25)
- columns
List of initial table column descriptors
columns = List(NumericColumn)
- configurable
Can the user configure the table columns?
configurable = true
- deletable
Are rows deletable from the table?
deletable = false
- edit_reduction_filter
Can the user edit the reduction filter?
edit_reduction_filter = true
- edit_selection_colors
Can the user edit the selection colors?
edit_selection_colors = true
- edit_selection_filter
Can the user edit the selection filter?
edit_selection_filter = true
- editable
Is the table editable?
editable = true
- extendable
Can the user add new columns to the model?
extendable = true
- klass
The class of the editor to always be created:
klass = NumericEditor
- label_bg_color
The default color to use for label backgrounds
label_bg_color = Color(14144191)
- label_color
The default color to use for text in labels
label_color = Color('black')
- label_font
The default font to use for text in labels
label_font = Font
- line_color
Grid line color
line_color = Color(12894377)
- new_columns
Where should new columns be added
new_columns = Enum('last', [ 'first', 'last' ])
- on_dclick
Called when a table item is double-clicked
on_dclick = Callable
- on_select
Called when a table item is selected
on_select = Callable
- other_columns
List of other table column descriptors (not initially displayed)
other_columns = List(NumericColumn)
- reduction_filter
The filter to use for reducing the model data. This trait is mutually exclusive with reduction_filter_name.
reduction_filter = Instance(NumericFilter)
- reduction_filter_name
The name of the filter to use for reducing model data. This trait is mutually exclusive with reduction_filter.
reduction_filter_name = Str
- row_label_width
Width (in pixels) of row labels
row_label_width = Int(82)
- selection_bg_color
The default background color for selections
selection_bg_color = Color(860895)
- selection_color
The default text color for selections
selection_color = Color('white')
- selection_filter
The filter to use for selecting model data. This trait is mutually exclusive with selection_filter_name.
selection_filter = Instance(NumericFilter)
- selection_filter_name
The name of the filter to use for selecting model data. This trait is mutually exclusive with selection_filter.
selection_filter_name = Str
- show_column_labels
Should column labels be displayed?
show_column_labels = true
- show_lines
Should grid lines be shown on the table?
show_lines = true
- sort_model
Does sorting affect the model?
sort_model = false
- sortable
Can the user sort the data?
sortable = false
- user_selection_filter
The MaskFilter to use for injecting the current user selection into the model pipeline
user_selection_filter = Instance(IndexFilter)
Inherited from base classes
Method summary
Inherited from base classes
- __call__(self, *args, **traits)
- __deepcopy__(self, memo)
- __getstate__(self)
- __init__(self, *args, **traits)
- __prefix_trait__(self, name, is_set)
- __reduce_ex__(self, protocol)
- __setstate__(self, state, trait_change_notify = True)
- add_class_trait(cls, name, *trait)
- add_trait(self, name, *trait)
- add_trait_category(cls, category)
- add_trait_listener(self, object, prefix = '')
- all_trait_names(self)
- base_trait(self, name)
- class_default_traits_view(cls)
- class_editable_traits(cls)
- class_trait_names(cls, **metadata)
- class_trait_view(cls, name = None, view_element = None)
- class_trait_view_elements(cls)
- class_traits(cls, **metadata)
- clone_traits(self, traits = None, memo = None, copy = None, **metadata)
- configure_traits(self, filename = None, view = None, kind = None, edit = True, context = None, handler = None, id = '', scrollable = None, **args)
- copy_traits(self, other, traits = None, memo = None, copy = None, **metadata)
- copyable_trait_names(self, **metadata)
- custom_editor(self, ui, object, name, description, parent)
- default_traits_view(self)
- edit_traits(self, view = None, parent = None, kind = None, context = None, handler = None, id = '', scrollable = None, **args)
- editable_traits(self)
- has_traits_interface(self, *interfaces)
- init(self)
- named_value(self, name, ui)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same', priority = False, deferred = False)
- print_traits(self, show_help = False, **metadata)
- readonly_editor(self, ui, object, name, description, parent)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- reset_traits(self, traits = None, **metadata)
- set_trait_dispatch_handler(cls, name, klass, override = False)
- simple_editor(self, ui, object, name, description, parent)
- sync_trait(self, trait_name, object, alias = None, mutual = True, remove = False)
- text_editor(self, ui, object, name, description, parent)
- trait(self, name, force = False, copy = False)
- trait_context(self)
- trait_get(self, *names, **metadata)
- trait_monitor(cls, handler, remove = False)
- trait_names(self, **metadata)
- trait_set(self, trait_change_notify = True, **traits)
- trait_setq(self, **traits)
- trait_subclasses(cls, all = False)
- trait_view(self, name = None, view_element = None)
- trait_view_elements(self)
- trait_views(self, klass = None)
- traits(self, **metadata)
- validate_trait(self, name, value)