C# 클래스 LayoutFarm.Text.TextEditRenderBox

파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BoxEvaluateScrollBar void
EnsureCaretVisible void
GetFreeStringBuilder System.Text.StringBuilder
GetSelectionUpdateArea Rectangle
InvalidateGraphicOfCurrentLineArea void
MyScrollBy void
MyScrollByNotRaiseEvent void
MyScrollTo void
MyScrollToNotRaiseEvent void
RefreshSnapshotCanvas void
ReleaseStringBuilder void
SetCaretState void
SwapCaretState void

공개 메소드들

메소드 설명
AddHScrollHandler ( EventHandler hscrollChanged, EventHandler hscrollSupport ) : void
AddTextRun ( EditableRun textspan ) : void
AddVScrollHandler ( EventHandler vscrollChanged, EventHandler vscrollSupport ) : void
Blur ( ) : void
ClearAllChildren ( ) : void
CopyContentToStringBuilder ( StringBuilder stBuilder ) : void
CopyCurrentLine ( StringBuilder output ) : void
CopyLine ( int lineNum, StringBuilder output ) : void
CreateEditableTextRun ( char charBuffer ) : EditableRun
CreateEditableTextRun ( string str ) : EditableRun
CreateFreezeTextRun ( char charBuffer ) : EditableRun
DoEnd ( bool pressShitKey ) : void
DoHome ( bool pressShitKey ) : void
DoTab ( ) : void
DoTyping ( string text ) : void
Focus ( ) : void
GetRectAreaOf ( int beginlineNum, int beginColumnNum, int endLineNum, int endColumnNum ) : Rectangle
GetSelectedText ( StringBuilder output ) : void
LoadTextRun ( IEnumerable textRuns ) : void
MyScrollToNotRaiseEvent ( int x, int y ) : void
NotifyTextContentSizeChanged ( TextEditRenderBox ts ) : void
OnDoubleClick ( UIMouseEventArgs e ) : void
OnDrag ( UIMouseEventArgs e ) : void
OnDragEnd ( UIMouseEventArgs e ) : void
OnKeyDown ( UIKeyEventArgs e ) : void
OnKeyPress ( UIKeyEventArgs e ) : void
OnKeyUp ( UIKeyEventArgs e ) : void
OnMouseDown ( UIMouseEventArgs e ) : void
OnMouseUp ( UIMouseEventArgs e ) : void
OnProcessDialogKey ( UIKeyEventArgs e ) : bool
RemoveHScrollHandler ( EventHandler hscrollChanged, EventHandler hscrollSupport ) : void
RemoveVScrollHandler ( EventHandler vscrollChanged, EventHandler vscrollSupport ) : void
ReplaceCurrentLineTextRuns ( IEnumerable textRuns ) : void
ReplaceCurrentTextRunContent ( int nBackspace, string t ) : void
ReplaceLine ( int lineNum, IEnumerable textRuns ) : void

replace specific line number with textruns

ScrollBy ( int dx, int dy ) : void
ScrollTo ( int x, int y ) : void
ScrollToCurrentLine ( ) : void
ScrollToNotRaiseEvent ( int x, int y ) : void
SplitCurrentLineToNewLine ( ) : void
TextEditRenderBox ( RootGraphic rootgfx, int width, int height, bool isMultiLine ) : System.Text

보호된 메소드들

메소드 설명
DrawBoxContent ( Canvas canvas, Rectangle updateArea ) : void

비공개 메소드들

메소드 설명
BoxEvaluateScrollBar ( ) : void
EnsureCaretVisible ( ) : void
GetFreeStringBuilder ( ) : StringBuilder
GetSelectionUpdateArea ( ) : Rectangle
InvalidateGraphicOfCurrentLineArea ( ) : void
MyScrollBy ( int dx, int dy ) : void
MyScrollByNotRaiseEvent ( int dx, int dy, UIScrollEventArgs &hScrollEventArgs, UIScrollEventArgs &vScrollEventArgs ) : void
MyScrollTo ( int x, int y ) : void
MyScrollToNotRaiseEvent ( int x, int y, UIScrollEventArgs &hScrollEventArgs, UIScrollEventArgs &vScrollEventArgs ) : void
RefreshSnapshotCanvas ( ) : void
ReleaseStringBuilder ( StringBuilder stBuilder ) : void
SetCaretState ( bool visible ) : void
SwapCaretState ( ) : void

메소드 상세

AddHScrollHandler() 공개 메소드

public AddHScrollHandler ( EventHandler hscrollChanged, EventHandler hscrollSupport ) : void
hscrollChanged EventHandler
hscrollSupport EventHandler
리턴 void

AddTextRun() 공개 메소드

public AddTextRun ( EditableRun textspan ) : void
textspan EditableRun
리턴 void

AddVScrollHandler() 공개 메소드

public AddVScrollHandler ( EventHandler vscrollChanged, EventHandler vscrollSupport ) : void
vscrollChanged EventHandler
vscrollSupport EventHandler
리턴 void

Blur() 공개 메소드

public Blur ( ) : void
리턴 void

ClearAllChildren() 공개 메소드

public ClearAllChildren ( ) : void
리턴 void

CopyContentToStringBuilder() 공개 메소드

public CopyContentToStringBuilder ( StringBuilder stBuilder ) : void
stBuilder System.Text.StringBuilder
리턴 void

CopyCurrentLine() 공개 메소드

public CopyCurrentLine ( StringBuilder output ) : void
output System.Text.StringBuilder
리턴 void

CopyLine() 공개 메소드

public CopyLine ( int lineNum, StringBuilder output ) : void
lineNum int
output System.Text.StringBuilder
리턴 void

CreateEditableTextRun() 공개 메소드

public CreateEditableTextRun ( char charBuffer ) : EditableRun
charBuffer char
리턴 EditableRun

CreateEditableTextRun() 공개 메소드

public CreateEditableTextRun ( string str ) : EditableRun
str string
리턴 EditableRun

CreateFreezeTextRun() 공개 메소드

public CreateFreezeTextRun ( char charBuffer ) : EditableRun
charBuffer char
리턴 EditableRun

DoEnd() 공개 메소드

public DoEnd ( bool pressShitKey ) : void
pressShitKey bool
리턴 void

DoHome() 공개 메소드

public DoHome ( bool pressShitKey ) : void
pressShitKey bool
리턴 void

DoTab() 공개 메소드

public DoTab ( ) : void
리턴 void

DoTyping() 공개 메소드

public DoTyping ( string text ) : void
text string
리턴 void

DrawBoxContent() 보호된 메소드

protected DrawBoxContent ( Canvas canvas, Rectangle updateArea ) : void
canvas Canvas
updateArea Rectangle
리턴 void

Focus() 공개 메소드

public Focus ( ) : void
리턴 void

GetRectAreaOf() 공개 메소드

public GetRectAreaOf ( int beginlineNum, int beginColumnNum, int endLineNum, int endColumnNum ) : Rectangle
beginlineNum int
beginColumnNum int
endLineNum int
endColumnNum int
리턴 Rectangle

GetSelectedText() 공개 메소드

public GetSelectedText ( StringBuilder output ) : void
output System.Text.StringBuilder
리턴 void

LoadTextRun() 공개 메소드

public LoadTextRun ( IEnumerable textRuns ) : void
textRuns IEnumerable
리턴 void

MyScrollToNotRaiseEvent() 공개 메소드

public MyScrollToNotRaiseEvent ( int x, int y ) : void
x int
y int
리턴 void

NotifyTextContentSizeChanged() 공개 정적인 메소드

public static NotifyTextContentSizeChanged ( TextEditRenderBox ts ) : void
ts TextEditRenderBox
리턴 void

OnDoubleClick() 공개 메소드

public OnDoubleClick ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
리턴 void

OnDrag() 공개 메소드

public OnDrag ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
리턴 void

OnDragEnd() 공개 메소드

public OnDragEnd ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
리턴 void

OnKeyDown() 공개 메소드

public OnKeyDown ( UIKeyEventArgs e ) : void
e UIKeyEventArgs
리턴 void

OnKeyPress() 공개 메소드

public OnKeyPress ( UIKeyEventArgs e ) : void
e UIKeyEventArgs
리턴 void

OnKeyUp() 공개 메소드

public OnKeyUp ( UIKeyEventArgs e ) : void
e UIKeyEventArgs
리턴 void

OnMouseDown() 공개 메소드

public OnMouseDown ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
리턴 void

OnMouseUp() 공개 메소드

public OnMouseUp ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
리턴 void

OnProcessDialogKey() 공개 메소드

public OnProcessDialogKey ( UIKeyEventArgs e ) : bool
e UIKeyEventArgs
리턴 bool

RemoveHScrollHandler() 공개 메소드

public RemoveHScrollHandler ( EventHandler hscrollChanged, EventHandler hscrollSupport ) : void
hscrollChanged EventHandler
hscrollSupport EventHandler
리턴 void

RemoveVScrollHandler() 공개 메소드

public RemoveVScrollHandler ( EventHandler vscrollChanged, EventHandler vscrollSupport ) : void
vscrollChanged EventHandler
vscrollSupport EventHandler
리턴 void

ReplaceCurrentLineTextRuns() 공개 메소드

public ReplaceCurrentLineTextRuns ( IEnumerable textRuns ) : void
textRuns IEnumerable
리턴 void

ReplaceCurrentTextRunContent() 공개 메소드

public ReplaceCurrentTextRunContent ( int nBackspace, string t ) : void
nBackspace int
t string
리턴 void

ReplaceLine() 공개 메소드

replace specific line number with textruns
public ReplaceLine ( int lineNum, IEnumerable textRuns ) : void
lineNum int
textRuns IEnumerable
리턴 void

ScrollBy() 공개 메소드

public ScrollBy ( int dx, int dy ) : void
dx int
dy int
리턴 void

ScrollTo() 공개 메소드

public ScrollTo ( int x, int y ) : void
x int
y int
리턴 void

ScrollToCurrentLine() 공개 메소드

public ScrollToCurrentLine ( ) : void
리턴 void

ScrollToNotRaiseEvent() 공개 메소드

public ScrollToNotRaiseEvent ( int x, int y ) : void
x int
y int
리턴 void

SplitCurrentLineToNewLine() 공개 메소드

public SplitCurrentLineToNewLine ( ) : void
리턴 void

TextEditRenderBox() 공개 메소드

public TextEditRenderBox ( RootGraphic rootgfx, int width, int height, bool isMultiLine ) : System.Text
rootgfx RootGraphic
width int
height int
isMultiLine bool
리턴 System.Text