Module wxuniversal :: Class MaskedTextCtrlErg
[hide private]
[frames] | no frames]

Class MaskedTextCtrlErg

source code

                   object --+                            
                            |                            
              wx._core.Object --+                        
                                |                        
              wx._core.EvtHandler --+                    
                                    |                    
                      wx._core.Window --+                
                                        |                
                         wx._core.Control --+            
                                            |            
                        wx._controls.TextCtrl --+        
                                                |        
     wx.lib.masked.maskededit.MaskedEditMixin --+        
                                                |        
        wx.lib.masked.textctrl.BaseMaskedTextCtrl --+    
                                                    |    
wx.lib.masked.maskededit.MaskedEditAccessorsMixin --+    
                                                    |    
                      wx.lib.masked.textctrl.TextCtrl --+
                                                        |
                                       __Ergaenzung__ --+
                                                        |
                                                       MaskedTextCtrlErg

Klasse, die eine MaskedTextCtrl mit weiteren Funktionen versieht.

Instance Methods [hide private]
EvtHandler
__init__(self, parent, validRequired, autoformat, Statusleiste, dbVerbindung)
__init__(self, Window parent, int id=-1, String value=EmptyString, ...
source code
 
gibWert(self)
Mit Aufruf dieser Methode wird der Wert des wxmsk.TextCtrl zurückgegeben.
source code
 
loescheAlles(self)
Mit Aufruf dieser Methode wird der Text aus dem MaskedTextCtrl gelöscht, sowie self.istVomBenutzerGeaendert = False und self.istBenutzerAenderungJetzt gesetzt.
source code
 
nimmWert(self, wert, clientData=None)
Mit Aufruf dieser Methode wird der Wert der MaskedTextCtrl übernommen.
source code

Inherited from wx.lib.masked.textctrl.BaseMaskedTextCtrl: ChangeValue, Clear, Cut, IsEmpty, IsModified, ModifyValue, Paste, Refresh, SetFont, SetValue, Undo, __repr__

Inherited from wx.lib.masked.textctrl.BaseMaskedTextCtrl (private): _CalcSize, _ChangeValue, _GetInsertionPoint, _GetSelection, _GetValue, _IsEditable, _PostInit, _Refresh, _SetInsertionPoint, _SetSelection, _SetValue

Inherited from wx._controls.TextCtrl: AppendText, CanCopy, CanCut, CanPaste, CanRedo, CanUndo, Copy, Create, DiscardEdits, EmulateKeyPress, GetDefaultStyle, GetInsertionPoint, GetLastPosition, GetLineLength, GetLineText, GetNumberOfLines, GetRange, GetSelection, GetString, GetStringSelection, GetStyle, GetValue, HitTest, HitTestPos, IsEditable, IsMultiLine, IsSingleLine, LoadFile, MacCheckSpelling, MarkDirty, PositionToXY, Redo, Remove, Replace, SaveFile, SelectAll, SendTextUpdatedEvent, SetDefaultStyle, SetEditable, SetInsertionPoint, SetInsertionPointEnd, SetMaxLength, SetModified, SetSelection, SetStyle, ShowPosition, WriteText, XYToPosition, write

Inherited from wx._core.Control: Command, GetAlignment, GetLabelText

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, GetAdjustedBestSize, GetAutoLayout, GetBackgroundColour, GetBackgroundStyle, GetBestFittingSize, 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, HasCapture, HasFlag, HasMultiplePages, HasScrollbar, HasTransparentBackground, Hide, 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, RefreshRect, RegisterHotKey, ReleaseMouse, RemoveChild, RemoveEventHandler, Reparent, ScreenToClient, ScreenToClientXY, ScrollLines, ScrollPages, ScrollWindow, SendSizeEvent, SetAcceleratorTable, SetAutoLayout, SetBackgroundColour, SetBackgroundStyle, SetBestFittingSize, SetCaret, SetClientRect, SetClientSize, SetClientSizeWH, SetConstraints, SetContainingSizer, SetCursor, SetDimensions, SetDoubleBuffered, SetDropTarget, SetEventHandler, SetExtraStyle, SetFocus, SetFocusFromKbd, 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.EvtHandler (private): _setOORInfo

Inherited from wx._core.Object: GetClassName, IsSameAs

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

Inherited from wx.lib.masked.maskededit.MaskedEditMixin: ClearValue, ClearValueAlt, GetCtrlParameter, GetFieldParameter, GetMaskParameter, GetPlainValue, IsDefault, IsValid, SetCtrlParameters, SetFieldParameters, SetMaskParameters

Inherited from wx.lib.masked.maskededit.MaskedEditMixin (private): _AddNavKey, _AddNavKeycode, _AdjustField, _Change, _CheckValid, _Cut, _FindField, _FindFieldExtent, _GetNavKeycodes, _Keypress, _LostFocus, _OnArrow, _OnAutoCompleteField, _OnAutoSelect, _OnChangeField, _OnChangeSign, _OnChar, _OnClear, _OnContextMenu, _OnCtrlParametersChanged, _OnCtrl_A, _OnCtrl_C, _OnCtrl_S, _OnCtrl_V, _OnCtrl_X, _OnCtrl_Z, _OnDecimalPoint, _OnDelete, _OnDoubleClick, _OnEnd, _OnErase, _OnFocus, _OnGroupChar, _OnHome, _OnInsert, _OnKeyDown, _OnKillFocus, _OnReturn, _OnTextChange, _OnUpNumeric, _Paste, _SetInitialValue, _SetKeyHandler, _SetKeycodeHandler, _SetNavKeycodes, _Undo, _UndoUpdateUI, _adjustDate, _adjustFloat, _adjustInt, _adjustKey, _adjustPos, _applyFormatting, _autoComplete, _baseCtrlEventHandler, _calcFieldExtents, _calcSize, _calcTemplate, _configure, _eraseSelection, _findNextEntry, _findNextTemplateChar, _fixSelection, _getAbsValue, _getAllowedChars, _getClipboardContents, _getSignedValue, _goEnd, _goHome, _insertKey, _isCharAllowed, _isMaskChar, _isTemplateChar, _processMask, _propagateConstraints, _setFont, _validateChoices, _validateDate, _validateGeneric, _validateNumeric, _validatePaste, _validateTime

Inherited from wx.lib.masked.maskededit.MaskedEditAccessorsMixin: GetAutoCompleteKeycodes, GetAutoSelect, GetAutoformat, GetChoiceRequired, GetChoices, GetCompareNoCase, GetDatestyle, GetDecimalChar, GetDefaultEncoding, GetDefaultValue, GetDemo, GetDescription, GetEmptyBackgroundColour, GetEmptyInvalid, GetExcludeChars, GetFields, GetFillChar, GetFormatcodes, GetGroupChar, GetIncludeChars, GetInvalidBackgroundColour, GetMask, GetRaiseOnInvalidPaste, GetRetainFieldValidation, GetShiftDecimalChar, GetSignedForegroundColour, GetStopFieldChangeIfInvalid, GetUseFixedWidthFont, GetUseParensForNegatives, GetValidBackgroundColour, GetValidFunc, GetValidRange, GetValidRegex, GetValidRequired, SetAutoCompleteKeycodes, SetAutoSelect, SetAutoformat, SetChoiceRequired, SetChoices, SetCompareNoCase, SetDatestyle, SetDecimalChar, SetDefaultEncoding, SetDefaultValue, SetDemo, SetDescription, SetEmptyBackgroundColour, SetEmptyInvalid, SetExcludeChars, SetFields, SetFillChar, SetFormatcodes, SetGroupChar, SetIncludeChars, SetInvalidBackgroundColour, SetMask, SetRaiseOnInvalidPaste, SetRetainFieldValidation, SetShiftDecimalChar, SetSignedForegroundColour, SetStopFieldChangeIfInvalid, SetUseFixedWidthFont, SetUseParensForNegatives, SetValidBackgroundColour, SetValidFunc, SetValidRange, SetValidRegex, SetValidRequired

Inherited from __Ergaenzung__: __ereignisAenderung__, __ereignisKMenueNicht__, __ereignisStatusleiste__, gibIstVomBenutzerGeaendert, nimmIstVomBenutzerGeaendert

Static Methods [hide private]

Inherited from wx._controls.TextCtrl: GetClassDefaultAttributes

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

Class Variables [hide private]

Inherited from wx.lib.masked.maskededit.MaskedEditMixin: valid_ctrl_params

Inherited from wx.lib.masked.maskededit.MaskedEditAccessorsMixin: exposed_basectrl_params, param, propname

Inherited from __Ergaenzung__: clientData, istBenutzerAenderungJetzt, istVomBenutzerGeaendert

Properties [hide private]

Inherited from wx._controls.TextCtrl: DefaultStyle, InsertionPoint, LastPosition, NumberOfLines, Selection, StringSelection, Value, thisown

Inherited from wx._core.Control: Alignment, LabelText

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, GrandParent, GtkWidget, Handle, HelpText, Id, Label, LayoutDirection, MaxHeight, MaxSize, MaxWidth, MinHeight, MinSize, MinWidth, Name, Parent, Position, Rect, ScreenPosition, ScreenRect, 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

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent, validRequired, autoformat, Statusleiste, dbVerbindung)
(Constructor)

source code 

__init__(self, Window parent, int id=-1, String value=EmptyString, 
    Point pos=DefaultPosition, Size size=DefaultSize, 
    long style=0, Validator validator=DefaultValidator, 
    String name=TextCtrlNameStr) -> TextCtrl

Returns: EvtHandler
Overrides: __Ergaenzung__.__init__

nimmWert(self, wert, clientData=None)

source code 

Mit Aufruf dieser Methode wird der Wert der MaskedTextCtrl übernommen. Mittels ClientData[0 ... n] können Zusatzinformationen übergeben werden

Parameters:
  • wert (Zeichenkette) - Es ist der Wert der MaskedTextCtrl anzugeben.
  • clientData (beliebiges Objekt) - Mittels clientData[0...n] werden weitere Zusatzinformationen übergeben.