void safeDraw(Graphics *const graphics)
void mouseDragged(MouseEvent &event)
unsigned int getCaretRow() const
std::vector< std::string > mTextRows
void setCaretPosition(unsigned int position)
void setEditable(const bool editable)
std::string getText() const
void setCaretColumn(const int column)
void setCaretRowColumn(const int row, const int column)
void setOpaque(const Opaque opaque)
void setTextRow(const int row, const std::string &text)
unsigned int getCaretColumn() const
void addRow(const std::string &row)
void setCaretRow(const int row)
void keyPressed(KeyEvent &event)
void setForegroundColor(const Color &color)
void mousePressed(MouseEvent &event)
void drawCaret(Graphics *const graphics, const int x, const int y) const
unsigned int getNumberOfRows() const
void setForegroundColorAll(const Color &color1, const Color &color2)
void draw(Graphics *const graphics)
unsigned int getCaretPosition() const
void setText(const std::string &text)
const std::string & getTextRow(const int row) const
void setTextWrapped(const std::string &text, const int minDimension)
TextBox(const Widget2 *const widget)