C# Class System.Windows.Forms.HexBox.KeyInterpreter

Handles user input such as mouse and keyboard input during hex view edit
Inheritance: IKeyInterpreter
Afficher le fichier Open project: Zepheus/Fiesta_Utils

Protected Properties

Свойство Type Description
_hexBox HexBox
_shiftDown bool

Méthodes publiques

Méthode Description
Activate ( ) : void
Deactivate ( ) : void
GetCaretPointF ( long byteIndex ) : PointF
KeyInterpreter ( HexBox hexBox ) : System
PreProcessWmChar ( Message &m ) : bool
PreProcessWmKeyDown ( Message &m ) : bool
PreProcessWmKeyUp ( Message &m ) : bool

Méthodes protégées

Méthode Description
BeginMouseSelection ( object sender, MouseEventArgs e ) : void
EndMouseSelection ( object sender, MouseEventArgs e ) : void
GetBytePositionInfo ( Point p ) : BytePositionInfo
PerformPosMoveLeft ( ) : bool
PerformPosMoveLeftByte ( ) : bool
PerformPosMoveRight ( ) : bool
PerformPosMoveRightByte ( ) : bool
PreProcessWmKeyDown_Back ( Message &m ) : bool
PreProcessWmKeyDown_ControlC ( Message &m ) : bool
PreProcessWmKeyDown_ControlV ( Message &m ) : bool
PreProcessWmKeyDown_ControlX ( Message &m ) : bool
PreProcessWmKeyDown_Delete ( Message &m ) : bool
PreProcessWmKeyDown_Down ( Message &m ) : bool
PreProcessWmKeyDown_End ( Message &m ) : bool
PreProcessWmKeyDown_Home ( Message &m ) : bool
PreProcessWmKeyDown_Left ( Message &m ) : bool
PreProcessWmKeyDown_PageDown ( Message &m ) : bool
PreProcessWmKeyDown_PageUp ( Message &m ) : bool
PreProcessWmKeyDown_Right ( Message &m ) : bool
PreProcessWmKeyDown_ShiftDown ( Message &m ) : bool
PreProcessWmKeyDown_ShiftLeft ( Message &m ) : bool
PreProcessWmKeyDown_ShiftRight ( Message &m ) : bool
PreProcessWmKeyDown_ShiftShiftKey ( Message &m ) : bool
PreProcessWmKeyDown_ShiftTab ( Message &m ) : bool
PreProcessWmKeyDown_ShiftUp ( Message &m ) : bool
PreProcessWmKeyDown_Tab ( Message &m ) : bool
PreProcessWmKeyDown_Up ( Message &m ) : bool
PreProcessWmKeyUp_Insert ( Message &m ) : bool
RaiseKeyDown ( Keys keyData ) : bool
RaiseKeyPress ( char keyChar ) : bool
RaiseKeyUp ( Keys keyData ) : bool
UpdateMouseSelection ( object sender, MouseEventArgs e ) : void

Method Details

Activate() public méthode

public Activate ( ) : void
Résultat void

BeginMouseSelection() protected méthode

protected BeginMouseSelection ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
Résultat void

Deactivate() public méthode

public Deactivate ( ) : void
Résultat void

EndMouseSelection() protected méthode

protected EndMouseSelection ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
Résultat void

GetBytePositionInfo() protected méthode

protected GetBytePositionInfo ( Point p ) : BytePositionInfo
p Point
Résultat BytePositionInfo

GetCaretPointF() public méthode

public GetCaretPointF ( long byteIndex ) : PointF
byteIndex long
Résultat System.Drawing.PointF

KeyInterpreter() public méthode

public KeyInterpreter ( HexBox hexBox ) : System
hexBox HexBox
Résultat System

PerformPosMoveLeft() protected méthode

protected PerformPosMoveLeft ( ) : bool
Résultat bool

PerformPosMoveLeftByte() protected méthode

protected PerformPosMoveLeftByte ( ) : bool
Résultat bool

PerformPosMoveRight() protected méthode

protected PerformPosMoveRight ( ) : bool
Résultat bool

PerformPosMoveRightByte() protected méthode

protected PerformPosMoveRightByte ( ) : bool
Résultat bool

PreProcessWmChar() public méthode

public PreProcessWmChar ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown() public méthode

public PreProcessWmKeyDown ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_Back() protected méthode

protected PreProcessWmKeyDown_Back ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_ControlC() protected méthode

protected PreProcessWmKeyDown_ControlC ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_ControlV() protected méthode

protected PreProcessWmKeyDown_ControlV ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_ControlX() protected méthode

protected PreProcessWmKeyDown_ControlX ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_Delete() protected méthode

protected PreProcessWmKeyDown_Delete ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_Down() protected méthode

protected PreProcessWmKeyDown_Down ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_End() protected méthode

protected PreProcessWmKeyDown_End ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_Home() protected méthode

protected PreProcessWmKeyDown_Home ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_Left() protected méthode

protected PreProcessWmKeyDown_Left ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_PageDown() protected méthode

protected PreProcessWmKeyDown_PageDown ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_PageUp() protected méthode

protected PreProcessWmKeyDown_PageUp ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_Right() protected méthode

protected PreProcessWmKeyDown_Right ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_ShiftDown() protected méthode

protected PreProcessWmKeyDown_ShiftDown ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_ShiftLeft() protected méthode

protected PreProcessWmKeyDown_ShiftLeft ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_ShiftRight() protected méthode

protected PreProcessWmKeyDown_ShiftRight ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_ShiftShiftKey() protected méthode

protected PreProcessWmKeyDown_ShiftShiftKey ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_ShiftTab() protected méthode

protected PreProcessWmKeyDown_ShiftTab ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_ShiftUp() protected méthode

protected PreProcessWmKeyDown_ShiftUp ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_Tab() protected méthode

protected PreProcessWmKeyDown_Tab ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyDown_Up() protected méthode

protected PreProcessWmKeyDown_Up ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyUp() public méthode

public PreProcessWmKeyUp ( Message &m ) : bool
m Message
Résultat bool

PreProcessWmKeyUp_Insert() protected méthode

protected PreProcessWmKeyUp_Insert ( Message &m ) : bool
m Message
Résultat bool

RaiseKeyDown() protected méthode

protected RaiseKeyDown ( Keys keyData ) : bool
keyData Keys
Résultat bool

RaiseKeyPress() protected méthode

protected RaiseKeyPress ( char keyChar ) : bool
keyChar char
Résultat bool

RaiseKeyUp() protected méthode

protected RaiseKeyUp ( Keys keyData ) : bool
keyData Keys
Résultat bool

UpdateMouseSelection() protected méthode

protected UpdateMouseSelection ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
Résultat void

Property Details

_hexBox protected_oe property

Contains the parent HexBox control
protected HexBox _hexBox
Résultat HexBox

_shiftDown protected_oe property

Contains True, if shift key is down
protected bool _shiftDown
Résultat bool