NodeExport Class Reference
[Gdb]

Stores the node exporting values. More...

List of all members.

Public Member Functions

 NodeExport ()
 Creates a new instance.
virtual ~NodeExport ()
 Destructor.
void SetDefaults ()
 Sets to default values.
const std::wstring & GetLabel () const
 Gets the node label.
void SetLabel (const std::wstring &l)
 Sets the node label.
NodeShape GetShape () const
 Gets the node shape.
void SetShape (NodeShape s)
 Sets the node shape.
ColorRGB GetColorRGB () const
 Gets the node color.
void SetColorRGB (ColorRGB c)
 Sets the node color.
ColorRGB GetLabelColorRGB () const
 Gets the node label color.
void SetLabelColorRGB (ColorRGB c)
 Sets the node label color.
int32_t GetHeight () const
 Gets the node height.
void SetHeight (int32_t h)
 Sets the node height.
int32_t GetWidth () const
 Gets the node width.
void SetWidth (int32_t w)
 Gets the node width.
bool_t IsFit () const
 Gets whether the node size is fitted to the label or not.
void SetFit (bool_t f)
 Sets the node fit property.
int32_t GetFontSize () const
 Gets the node label font size.
void SetFontSize (int32_t s)
 Sets the node label font size.


Detailed Description

Stores the node exporting values.

When 'fit' is set to TRUE, then 'height' and 'width' will be ignored.

Some properties may be ignored depending on the exportation type.

Default values are:

Label: "" (empty string).

Shape: Box.

Color: 10863606 (0xa5c3f6).

Label color: 0 (Ox000000, Black).

Height: 25px.

Width: 25px.

Fit: TRUE.

Font size: 10.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

const std::wstring& NodeExport::GetLabel (  )  const [inline]

Gets the node label.

Returns:
The node label.

void NodeExport::SetLabel ( const std::wstring &  l  )  [inline]

Sets the node label.

Parameters:
l [in] The node label.

NodeShape NodeExport::GetShape (  )  const [inline]

Gets the node shape.

Returns:
The node shape.

void NodeExport::SetShape ( NodeShape  s  )  [inline]

Sets the node shape.

Parameters:
s [in] The node shape.

ColorRGB NodeExport::GetColorRGB (  )  const [inline]

Gets the node color.

Returns:
The node color.

void NodeExport::SetColorRGB ( ColorRGB  c  )  [inline]

Sets the node color.

Parameters:
c The node color.

ColorRGB NodeExport::GetLabelColorRGB (  )  const [inline]

Gets the node label color.

Returns:
The node label color.

void NodeExport::SetLabelColorRGB ( ColorRGB  c  )  [inline]

Sets the node label color.

Parameters:
c [in] The node label color.

int32_t NodeExport::GetHeight (  )  const [inline]

Gets the node height.

Returns:
The node height in pixels.

void NodeExport::SetHeight ( int32_t  h  )  [inline]

Sets the node height.

Parameters:
h [in] The node height in pixels.

int32_t NodeExport::GetWidth (  )  const [inline]

Gets the node width.

Returns:
The node width in pixels.

void NodeExport::SetWidth ( int32_t  w  )  [inline]

Gets the node width.

Parameters:
w The node width in pixels.

bool_t NodeExport::IsFit (  )  const [inline]

Gets whether the node size is fitted to the label or not.

Returns:
If TRUE, then the node size is fitted to the label, otherwise the size is fixed with the values of 'height' and 'width'.

void NodeExport::SetFit ( bool_t  f  )  [inline]

Sets the node fit property.

Parameters:
f [in] If TRUE, then the node size is fitted to the label ('height' and 'width' will be ignored), otherwise the size is fixed with the values of 'height' and 'width'.

int32_t NodeExport::GetFontSize (  )  const [inline]

Gets the node label font size.

Returns:
The node label font size.

void NodeExport::SetFontSize ( int32_t  s  )  [inline]

Sets the node label font size.

Parameters:
s [in] The node label font size.


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

Generated on Fri Feb 7 13:09:58 2014 for Sparksee by  doxygen 1.5.6