OpenASIP 2.2
|
#include <ConnectionFigure.hh>
Public Member Functions | |
virtual | ~ConnectionFigure () |
void | setSource (Figure *figure) |
void | setTarget (Figure *figure) |
Figure * | source () const |
Figure * | target () const |
![]() | |
Figure () | |
virtual | ~Figure () |
wxPoint | location () const |
void | setLocation (wxPoint point) |
void | setX (int x) |
void | setY (int y) |
void | setPreferredX (int x) |
bool | xSet () const |
void | clearXSetFlag () |
virtual wxRect | bounds () const |
virtual wxRect | virtualBounds () const |
void | setBounds (wxSize bounds) |
void | setWidth (int width) |
void | setHeight (int height) |
virtual void | addChild (Figure *child) |
int | childCount () const |
Figure * | child (int index) const |
virtual void | layout (wxDC *dc) |
virtual void | draw (wxDC *dc) |
void | highlight (const wxColour &colour) |
void | clearHighlight () |
void | setOptions (MachineCanvasOptions *options) |
MachineCanvasOptions * | options () |
Protected Member Functions | |
ConnectionFigure () | |
![]() | |
virtual void | drawSelf (wxDC *dc) |
void | drawChildren (wxDC *dc) |
virtual void | layoutSelf (wxDC *) |
virtual void | layoutChildren (wxDC *) |
Protected Attributes | |
Figure * | source_ |
Source of connection. | |
Figure * | target_ |
Target of connection. | |
![]() | |
wxPoint | location_ |
Top-left location of the Figure's bounding rectangle. | |
wxSize | size_ |
wxSize of the Figure's bounding rectangle. | |
wxSize | minSize_ |
Figure's minimum size. | |
std::vector< Figure * > | children_ |
Figure's children. | |
bool | xSet_ |
Tells if x-coordinate has been fixed. | |
bool | laidOut_ |
Tells whether the Figure and its children have been laid out or not. | |
bool | drawn_ |
Tells whether the Figure and its children have been drawn or not. | |
wxColour | highlight_ |
Highlight colour. | |
bool | highlighted_ |
Tells if the figure is highlighted. | |
MachineCanvasOptions * | options_ |
Options which are used for customizing figures. | |
Private Member Functions | |
ConnectionFigure & | operator= (ConnectionFigure &old) |
Assignment not allowed. | |
ConnectionFigure (ConnectionFigure &old) | |
Copying not allowed. | |
Figure of a connection.
Definition at line 44 of file ConnectionFigure.hh.
|
virtual |
|
protected |
|
private |
Copying not allowed.
|
private |
Assignment not allowed.
void ConnectionFigure::setSource | ( | Figure * | figure | ) |
Referenced by ConnectionEditPart::setSource().
void ConnectionFigure::setTarget | ( | Figure * | figure | ) |
Referenced by ConnectionEditPart::setTarget().
Figure * ConnectionFigure::source | ( | ) | const |
Figure * ConnectionFigure::target | ( | ) | const |
Referenced by BusChainFigure::layoutChildren().
|
protected |
Source of connection.
Definition at line 56 of file ConnectionFigure.hh.
Referenced by SocketBusConnFigure::drawConnection(), SocketPortConnFigure::drawConnection(), SocketBusConnFigure::drawSelf(), SocketPortConnFigure::drawSelf(), SocketBusConnToolFigure::drawSelf(), SocketPortConnToolFigure::drawSelf(), SocketBusConnFigure::layoutSelf(), and SocketPortConnFigure::layoutSelf().
|
protected |
Target of connection.
Definition at line 58 of file ConnectionFigure.hh.
Referenced by SocketBusConnFigure::drawConnection(), SocketPortConnFigure::drawConnection(), SocketBusConnFigure::drawSelf(), SocketPortConnFigure::drawSelf(), SocketBusConnToolFigure::drawSelf(), SocketPortConnToolFigure::drawSelf(), SocketBusConnFigure::layoutSelf(), and SocketPortConnFigure::layoutSelf().