## class InlineEditor

> (abstract) text editor class.

## Inheritance:

### Public Methods

  | InlineEditor (Viewer *v)
  virtual | ~InlineEditor ()
  virtual void | Stop () top inline editing, update text.
  virtual void | Abort () top inline editing, do not update text.
  virtual void | Draw ()
  void | Undraw ()
  void | AddChar (char c) simple inline text edit functions.
  void | BackSpace ()
  void | Delete ()
  void | CharLeft ()
  void | CharRight ()
  void | CharUp ()
  void | CharDown ()
  void | Home ()
  void | End ()
  void | Clear () empty text
  void | SetCursor (int x, int y) set cursor to some position.
  void | SetCursor (int whichChar) set cursor on n-th char.
  void | StopWindow (const string *) stop window editing, update text.
  void | CancelWindow () cancel window editing.
  TextEditDialog* | GetTextEditDialog () const

### Protected Methods

  bool | IsInUse () const
  void | SetInUse (bool b)
  void | SetIgnoreWindow (bool b)
  void | SetText (const string *t)
  void | SetOldText (const string *ot)
  void | SetTextFont (XFont *ft)
  void | SetTextColor (string *c)
  void | SetAlignment (TextAlign::Type a)
  void | SetTextPosition (Point *p)
  const string* | GetText () const
  const string* | GetOldText () const
  Viewer* | GetViewer () const
  virtual bool | IsUnderlined () const
  void | SetUnderlined (bool b)

## Documentation

> (abstract) text editor class.

`InlineEditor(Viewer *v)`

`virtual ~InlineEditor()`

`virtual void Stop()`
  top inline editing, update text.

`virtual void Abort()`
  top inline editing, do not update text.

`virtual void Draw()`

`void Undraw()`

`void AddChar(char c)`
  simple inline text edit functions.

`void BackSpace()`

`void Delete()`

`void CharLeft()`

`void CharRight()`

`void CharUp()`

`void CharDown()`

`void Home()`

`void End()`

`void Clear()`
  empty text

`void SetCursor(int x, int y)`
  set cursor to some position.

`void SetCursor(int whichChar)`
  set cursor on n-th char.

`void StopWindow(const string *)`
  stop window editing, update text.

`void CancelWindow()`
  cancel window editing.

`TextEditDialog* GetTextEditDialog() const`

`bool IsInUse() const`

`void SetInUse(bool b)`

`void SetIgnoreWindow(bool b)`

`void SetText(const string *t)`

`void SetOldText(const string *ot)`

`void SetTextFont(XFont *ft)`

`void SetTextColor(string *c)`

`void SetAlignment(TextAlign::Type a)`

`void SetTextPosition(Point *p)`

`const string* GetText() const`

`const string* GetOldText() const`

`Viewer* GetViewer() const`

`virtual bool IsUnderlined() const`

`void SetUnderlined(bool b)`

Direct child classes:
  TextShapeEditor
  CellTextEditor

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de