|
SCV
4.2.1
Simple Components for Visual
|
#include <ComponentSpring.h>
Public Member Functions | |
| ComponentSpring (Component *component, int min, int pref, int max) | |
| virtual int | calculateMinimumSize (Axis axis) |
| virtual int | calculatePreferredSize (Axis axis) |
| virtual int | calculateMaximumSize (Axis axis) |
| virtual void | setSize (Axis axis, int origin, int size) |
| virtual int | getSizeAlongAxis (Axis axis, Point size) |
| void | setComponent (Component *component) |
| Component * | getComponent (void) const |
Public Member Functions inherited from scv::Spring | |
| Spring (void) | |
| virtual | ~Spring (void) |
| int | getMinimumSize (Axis axis) |
| int | getPreferredSize (Axis axis) |
| int | getMaximumSize (Axis axis) |
| virtual void | setAlignment (Alignment alignment) |
| virtual Alignment | getAlignment (void) const |
| virtual void | unset (void) |
| virtual int | getSize (void) const |
Protected Member Functions | |
| bool | isVisible (void) const |
Protected Member Functions inherited from scv::Spring | |
| int | constrain (int value) |
| bool | isResizable (Axis axis) |
Protected Attributes | |
| Component * | _component |
Protected Attributes inherited from scv::Spring | |
| Alignment | _alignment |
| int | _size |
| int | _min |
| int | _max |
| int | _pref |
Additional Inherited Members | |
Public Types inherited from scv::Spring | |
| enum | Alignment { CENTER, LEADING, TRAILING, NALIGNMENT = -1 } |
| enum | Size { UNSET = INT_MIN, DEFAULT_SIZE = -1, PREFERRED_SIZE = -2 } |
| enum | Axis { HORIZONTAL, VERTICAL } |
| scv::ComponentSpring::ComponentSpring | ( | Component * | component, |
| int | min, | ||
| int | pref, | ||
| int | max | ||
| ) |
|
virtual |
Implements scv::Spring.
|
virtual |
Implements scv::Spring.
|
virtual |
Implements scv::Spring.
|
inline |
|
virtual |
|
inlineprotected |
|
inline |
|
virtual |
Reimplemented from scv::Spring.
|
protected |