コード例 #1
0
 public TextEditor()
 {
     state = new NormalCaseWriting();
 }
コード例 #2
0
 public void SetState(ITextEditorState state)
 {
     this.state = state;
 }
コード例 #3
0
 public TextEditor(ITextEditorState s)
 {
     State = s;
 }