Package reflectometry :: Package model1d :: Package tableview :: Module customConstrain :: Class ConstrainViewerGrid

Class ConstrainViewerGrid

source code


The grid to show the constrains and variables
Instance Methods
EvtHandler
__init__(self, parent, id=-1, pos=wx.DefaultPosition, size=DEFAULT_GRID_SIZE)
Size size=DefaultSize, long style=WANTS_CHARS, String name=wxPyGridNameStr) -> Grid
source code
 
SetEditMode(self, editMode=True) source code
 
IsEditMode(self) source code
 
GetModel(self, modelName) source code
 
SetModel(self, model) source code
 
RefreshMultiplexor(self, xor, modelname)
Update all the views
source code
 
SetMultiplexor(self, xor, modelname)
Update all the views
source code
 
getValuesByPName(self, pname) source code
 
UpdateParameterViewer(self, names, value)
Event handle to update the viewer when the parameter of the model is updated.
source code
 
ShowParameterViewer(self, names)
Event handle to show the parameter of the model
source code
 
setColor4OptVar(self)
set up color for all optimized variable in grid table
source code
 
UpdateViewer(self)
update viewer
source code
 
UpdateModelViewer(self)
Event handle to update the viewer when the model is updated.
source code
 
RefreshViewer(self)
Update the viewer when parameter value is updated.
source code
 
setRoughFormat(self, fmt) source code
 
setReflFormat(self, fmt) source code
 
getFmtTable(self) source code
 
OnCellLeftClick(self, event)
We can do some thing useful here
source code
 
IsSpline(self, value) source code
 
OnCellChanged(self, event)
Event handler when the cell value is changed.
source code
 
SetCellsAlignmentByCol(self, col, alignment) source code

Inherited from wx.grid.Grid: AppendCols, AppendRows, AutoSize, AutoSizeColLabelSize, AutoSizeColumn, AutoSizeColumns, AutoSizeRow, AutoSizeRowLabelSize, AutoSizeRows, BeginBatch, BlockToDeviceRect, CanDragCell, CanDragColMove, CanDragColSize, CanDragGridSize, CanDragRowSize, CanEnableCellControl, CellToRect, ClearGrid, ClearSelection, Create, CreateGrid, DeleteCols, DeleteRows, DeselectCell, DeselectCol, DeselectRow, DisableCellEditControl, DisableDragCell, DisableDragColMove, DisableDragColSize, DisableDragGridSize, DisableDragRowSize, DrawCellHighlight, DrawTextRectangle, EnableCellEditControl, EnableDragCell, EnableDragColMove, EnableDragColSize, EnableDragGridSize, EnableDragRowSize, EnableEditing, EnableGridLines, EndBatch, ForceRefresh, GetBatchCount, GetCellAlignment, GetCellBackgroundColour, GetCellEditor, GetCellFont, GetCellHighlightColour, GetCellHighlightPenWidth, GetCellHighlightROPenWidth, GetCellOverflow, GetCellRenderer, GetCellSize, GetCellTextColour, GetCellValue, GetColAt, GetColGridLinePen, GetColLabelAlignment, GetColLabelSize, GetColLabelTextOrientation, GetColLabelValue, GetColMinimalAcceptableWidth, GetColPos, GetColSize, GetDefaultCellAlignment, GetDefaultCellBackgroundColour, GetDefaultCellFont, GetDefaultCellOverflow, GetDefaultCellTextColour, GetDefaultColLabelSize, GetDefaultColSize, GetDefaultEditor, GetDefaultEditorForCell, GetDefaultEditorForType, GetDefaultGridLinePen, GetDefaultRenderer, GetDefaultRendererForCell, GetDefaultRendererForType, GetDefaultRowLabelSize, GetDefaultRowSize, GetGridColLabelWindow, GetGridCornerLabelWindow, GetGridCursorCol, GetGridCursorRow, GetGridLineColour, GetGridRowLabelWindow, GetGridWindow, GetLabelBackgroundColour, GetLabelFont, GetLabelTextColour, GetNumberCols, GetNumberRows, GetOrCreateCellAttr, GetRowGridLinePen, GetRowLabelAlignment, GetRowLabelSize, GetRowLabelValue, GetRowMinimalAcceptableHeight, GetRowSize, GetScrollLineX, GetScrollLineY, GetScrollX, GetScrollY, GetSelectedCells, GetSelectedCols, GetSelectedRows, GetSelectionBackground, GetSelectionBlockBottomRight, GetSelectionBlockTopLeft, GetSelectionForeground, GetSelectionMode, GetTable, GetTextBoxSize, GridLinesEnabled, HideCellEditControl, InsertCols, InsertRows, IsCellEditControlEnabled, IsCellEditControlShown, IsCurrentCellReadOnly, IsEditable, IsInSelection, IsReadOnly, IsSelection, IsVisible, MakeCellVisible, MoveCursorDown, MoveCursorDownBlock, MoveCursorLeft, MoveCursorLeftBlock, MoveCursorRight, MoveCursorRightBlock, MoveCursorUp, MoveCursorUpBlock, MovePageDown, MovePageUp, ProcessTableMessage, RegisterDataType, SaveEditControlValue, SelectAll, SelectBlock, SelectCol, SelectRow, SetAttr, SetCellAlignment, SetCellBackgroundColour, SetCellEditor, SetCellFont, SetCellHighlightColour, SetCellHighlightPenWidth, SetCellHighlightROPenWidth, SetCellOverflow, SetCellRenderer, SetCellSize, SetCellTextColour, SetCellValue, SetColAttr, SetColFormatBool, SetColFormatCustom, SetColFormatFloat, SetColFormatNumber, SetColLabelAlignment, SetColLabelSize, SetColLabelTextOrientation, SetColLabelValue, SetColMinimalAcceptableWidth, SetColMinimalWidth, SetColPos, SetColSize, SetDefaultCellAlignment, SetDefaultCellBackgroundColour, SetDefaultCellFont, SetDefaultCellOverflow, SetDefaultCellTextColour, SetDefaultColSize, SetDefaultEditor, SetDefaultRenderer, SetDefaultRowSize, SetGridCursor, SetGridLineColour, SetLabelBackgroundColour, SetLabelFont, SetLabelTextColour, SetMargins, SetReadOnly, SetRowAttr, SetRowLabelAlignment, SetRowLabelSize, SetRowLabelValue, SetRowMinimalAcceptableHeight, SetRowMinimalHeight, SetRowSize, SetScrollLineX, SetScrollLineY, SetSelectionBackground, SetSelectionForeground, SetSelectionMode, SetTable, ShowCellEditControl, XToCol, XToEdgeOfCol, XYToCell, YToEdgeOfRow, YToRow, __repr__

Inherited from wx._windows.ScrolledWindow: AdjustScrollbars, CalcScrollInc, CalcScrolledPosition, CalcUnscrolledPosition, DoPrepareDC, EnableScrolling, GetScaleX, GetScaleY, GetScrollPageSize, GetScrollPixelsPerUnit, GetTargetRect, GetTargetWindow, GetViewStart, Scroll, SetScale, SetScrollPageSize, SetScrollRate, SetScrollbars, SetTargetRect, SetTargetWindow

Inherited from wx._windows.Panel: SetFocusIgnoringChildren

Inherited from wx._core.Window: AcceptsFocus, AcceptsFocusFromKeyboard, AddChild, AdjustForLayoutDirection, AssociateHandle, CacheBestSize, CanSetTransparent, CaptureMouse, Center, CenterOnParent, Centre, CentreOnParent, ClearBackground, ClientToScreen, ClientToScreenXY, ClientToWindowSize, Close, ConvertDialogPointToPixels, ConvertDialogSizeToPixels, ConvertPixelPointToDialog, ConvertPixelSizeToDialog, DLG_PNT, DLG_SZE, Destroy, DestroyChildren, Disable, DissociateHandle, DragAcceptFiles, Enable, FindWindowById, FindWindowByLabel, FindWindowByName, Fit, FitInside, Freeze, GetAcceleratorTable, GetAutoLayout, GetBackgroundColour, GetBackgroundStyle, GetBestSize, GetBestSizeTuple, GetBestVirtualSize, GetBorder, GetCaret, GetCharHeight, GetCharWidth, GetChildren, GetClientAreaOrigin, GetClientRect, GetClientSize, GetClientSizeTuple, GetConstraints, GetContainingSizer, GetCursor, GetDefaultAttributes, GetDropTarget, GetEffectiveMinSize, GetEventHandler, GetExtraStyle, GetFont, GetForegroundColour, GetFullTextExtent, GetGrandParent, GetGtkWidget, GetHandle, GetHelpText, GetHelpTextAtPoint, GetId, GetLabel, GetLayoutDirection, GetMaxHeight, GetMaxSize, GetMaxWidth, GetMinHeight, GetMinSize, GetMinWidth, GetName, GetParent, GetPosition, GetPositionTuple, GetRect, GetScreenPosition, GetScreenPositionTuple, GetScreenRect, GetScrollPos, GetScrollRange, GetScrollThumb, GetSize, GetSizeTuple, GetSizer, GetTextExtent, GetThemeEnabled, GetToolTip, GetTopLevelParent, GetUpdateClientRect, GetUpdateRegion, GetValidator, GetVirtualSize, GetVirtualSizeTuple, GetWindowBorderSize, GetWindowStyle, GetWindowStyleFlag, GetWindowVariant, GtkWidget, HasCapture, HasFlag, HasMultiplePages, HasScrollbar, HasTransparentBackground, Hide, HitTest, HitTestXY, InheritAttributes, InheritsBackgroundColour, InitDialog, InvalidateBestSize, IsBeingDeleted, IsDoubleBuffered, IsEnabled, IsExposed, IsExposedPoint, IsExposedRect, IsFrozen, IsRetained, IsShown, IsShownOnScreen, IsTopLevel, Layout, LineDown, LineUp, Lower, MakeModal, Move, MoveAfterInTabOrder, MoveBeforeInTabOrder, MoveXY, Navigate, PageDown, PageUp, PopEventHandler, PopupMenu, PopupMenuXY, PostCreate, PrepareDC, PushEventHandler, Raise, Refresh, RefreshRect, RegisterHotKey, ReleaseMouse, RemoveChild, RemoveEventHandler, Reparent, ScreenToClient, ScreenToClientXY, ScrollLines, ScrollPages, ScrollWindow, SendSizeEvent, SetAcceleratorTable, SetAutoLayout, SetBackgroundColour, SetBackgroundStyle, SetCaret, SetClientRect, SetClientSize, SetClientSizeWH, SetConstraints, SetContainingSizer, SetCursor, SetDimensions, SetDoubleBuffered, SetDropTarget, SetEventHandler, SetExtraStyle, SetFocus, SetFocusFromKbd, SetFont, SetForegroundColour, SetHelpText, SetHelpTextForId, SetId, SetInitialSize, SetLabel, SetLayoutDirection, SetMaxSize, SetMinSize, SetName, SetOwnBackgroundColour, SetOwnFont, SetOwnForegroundColour, SetPosition, SetRect, SetScrollPos, SetScrollbar, SetSize, SetSizeHints, SetSizeHintsSz, SetSizeWH, SetSizer, SetSizerAndFit, SetThemeEnabled, SetToolTip, SetToolTipString, SetTransparent, SetValidator, SetVirtualSize, SetVirtualSizeHints, SetVirtualSizeHintsSz, SetVirtualSizeWH, SetWindowStyle, SetWindowStyleFlag, SetWindowVariant, ShouldInheritColours, Show, Thaw, ToggleWindowStyle, TransferDataFromWindow, TransferDataToWindow, UnregisterHotKey, Update, UpdateWindowUI, UseBgCol, Validate, WarpPointer, WindowToClientSize

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, ProcessEvent, ProcessPendingEvents, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind

Inherited from wx._core.Object: GetClassName, IsSameAs

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Static Methods

Inherited from wx.grid.Grid: GetClassDefaultAttributes

Inherited from wx._core.Window: FindFocus, GetCapture, NewControlId, NextControlId, PrevControlId

Class Variables

Inherited from wx.grid.Grid: BatchCount, CellHighlightColour, CellHighlightPenWidth, CellHighlightROPenWidth, CellSize, ColLabelAlignment, ColLabelSize, ColLabelTextOrientation, ColMinimalAcceptableWidth, DefaultCellAlignment, DefaultCellBackgroundColour, DefaultCellFont, DefaultCellOverflow, DefaultCellTextColour, DefaultColLabelSize, DefaultColSize, DefaultEditor, DefaultGridLinePen, DefaultRenderer, DefaultRowLabelSize, DefaultRowSize, GridColLabelWindow, GridCornerLabelWindow, GridCursorCol, GridCursorRow, GridLineColour, GridRowLabelWindow, GridWindow, LabelBackgroundColour, LabelFont, LabelTextColour, NumberCols, NumberRows, RowLabelAlignment, RowLabelSize, RowMinimalAcceptableHeight, ScrollLineX, ScrollLineY, SelectCells, SelectColumns, SelectRows, SelectedCells, SelectedCols, SelectedRows, SelectionBackground, SelectionBlockBottomRight, SelectionBlockTopLeft, SelectionForeground, SelectionMode, Table, thisown, wxGridSelectCells, wxGridSelectColumns, wxGridSelectRows

Inherited from wx._windows.ScrolledWindow: ScaleX, ScaleY, TargetWindow, ViewStart

Inherited from wx._core.Window: AcceleratorTable, AutoLayout, BackgroundColour, BackgroundStyle, BestSize, BestVirtualSize, Border, Caret, CharHeight, CharWidth, Children, ClientAreaOrigin, ClientRect, ClientSize, Constraints, ContainingSizer, Cursor, DefaultAttributes, DropTarget, EffectiveMinSize, Enabled, EventHandler, ExtraStyle, Font, ForegroundColour, GetAdjustedBestSize, GetBestFittingSize, GrandParent, Handle, HelpText, Id, Label, LayoutDirection, MaxHeight, MaxSize, MaxWidth, MinHeight, MinSize, MinWidth, Name, Parent, Position, Rect, ScreenPosition, ScreenRect, SetBestFittingSize, Shown, Size, Sizer, ThemeEnabled, ToolTip, TopLevel, TopLevelParent, UpdateClientRect, UpdateRegion, Validator, VirtualSize, WindowStyle, WindowStyleFlag, WindowVariant

Inherited from wx._core.EvtHandler: EvtHandlerEnabled, NextHandler, PreviousHandler

Inherited from wx._core.Object: ClassName

Properties

Inherited from object: __class__

Method Details

__init__(self, parent, id=-1, pos=wx.DefaultPosition, size=DEFAULT_GRID_SIZE)
(Constructor)

source code 
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=WANTS_CHARS, String name=wxPyGridNameStr) -> Grid
Returns: EvtHandler
Overrides: object.__init__
(inherited documentation)