52 FindReplaceDialogScreenController::FindReplaceDialogScreenController(
PopUps* popUps): popUps(popUps)
68 screenNode = GUIParser::parse(
"resources/engine/gui",
"popup_findreplace.xml");
84 Console::println(
"FindReplaceDialogScreenController::initialize(): An error occurred: " +
string(exception.what()));
114 this->findAction = unique_ptr<Action>(
findAction);
115 this->countAction = unique_ptr<Action>(
countAction);
121 Engine::getInstance()->getGUI()->setFoccussedNode(
findText);
137 if (StringTools::startsWith(node->
getId(),
"findreplace_caption_close_") ==
true) {
Application base class, please make sure to allocate application on heap to have correct application ...
GUI node controller base class.
virtual const MutableString & getValue()=0
const string & getToolTip()
GUINodeController * getController()
GUIScreenNode * getScreenNode()
GUI screen node that represents a screen that can be rendered via GUI system.
void setEnabled(bool enabled)
Set enabled.
void addTooltipRequestListener(GUITooltipRequestListener *listener)
Add tooltip request listener.
void addActionListener(GUIActionListener *listener)
Add action listener.
void addFocusListener(GUIFocusListener *listener)
Add focus listener.
GUINode * getNodeById(const string &nodeId)
Get GUI node by id.
Mutable utf8 aware string class.
bool equals(const string &s2) const
Equals.
const string & getString() const
std::exception Exception
Exception base class.
GUI focus listener interface.