AuboCaps  0.6.0
arcs::aubo_scope::PopupNode Class Reference

#include <popup_node.h>

Inheritance diagram for arcs::aubo_scope::PopupNode:
Collaboration diagram for arcs::aubo_scope::PopupNode:

Public Types

enum  Type { MESSAGE, WARNING, ERROR }
 

Public Member Functions

 PopupNode (PopupNode &f)
 
 PopupNode (PopupNode &&f)
 
virtual ~PopupNode ()
 
void setMessage (std::string message)
 
std::string getMessage ()
 
void setType (Type type)
 
Type getType () const
 
- Public Member Functions inherited from arcs::aubo_scope::ProgramNode
 ProgramNode (ProgramNode &f)
 
 ProgramNode (ProgramNode &&f)
 
virtual ~ProgramNode ()
 
ProgramNodeContributionPtr getProgramNodeContribution ()
 不推荐用户调用 ProgramNodeContribution::generateScript 使用 ScriptWritter::writeChildren More...
 

Private Member Functions

 PopupNode ()
 

Private Attributes

void * d_ { nullptr }
 

Friends

class DataSwitch
 

Additional Inherited Members

- Protected Member Functions inherited from arcs::aubo_scope::ProgramNode
 ProgramNode ()
 

Detailed Description

Definition at line 11 of file popup_node.h.

Member Enumeration Documentation

Enumerator
MESSAGE 
WARNING 
ERROR 

Definition at line 14 of file popup_node.h.

Constructor & Destructor Documentation

arcs::aubo_scope::PopupNode::PopupNode ( PopupNode f)
arcs::aubo_scope::PopupNode::PopupNode ( PopupNode &&  f)
virtual arcs::aubo_scope::PopupNode::~PopupNode ( )
virtual
arcs::aubo_scope::PopupNode::PopupNode ( )
private

Member Function Documentation

std::string arcs::aubo_scope::PopupNode::getMessage ( )
Type arcs::aubo_scope::PopupNode::getType ( ) const
void arcs::aubo_scope::PopupNode::setMessage ( std::string  message)
Parameters
messagethe message in the pop up for the end user
Returns
this node
Exceptions
IllegalStateExceptionif called from a Swing-based AuboCap outside of an UndoableChanges scope (see also UndoRedoManager)
void arcs::aubo_scope::PopupNode::setType ( Type  type)
Parameters
typethe type of pop up
Returns
this node
Exceptions
IllegalStateExceptionif called from a Swing-based AuboCap outside of an UndoableChanges scope (see also UndoRedoManager)

Friends And Related Function Documentation

friend class DataSwitch
friend

Definition at line 48 of file popup_node.h.

Member Data Documentation

void* arcs::aubo_scope::PopupNode::d_ { nullptr }
private

Definition at line 50 of file popup_node.h.


The documentation for this class was generated from the following file: