SparkseeNet  5.0.0
Public Member Functions | List of all members
com.sparsity.sparksee.gdb.NodeExport Class Reference

Stores the node exporting values. More...

Public Member Functions

com.sparsity.sparksee.gdb.NodeShape GetShape ()
 Gets the node shape. More...
 
void SetLabelColorRGB (int c)
 Sets the node label color. More...
 
int GetFontSize ()
 Gets the node label font size. More...
 
void SetWidth (int w)
 Gets the node width. More...
 
void SetDefaults ()
 Sets to default values.
 
int GetColorRGB ()
 Gets the node color. More...
 
void SetFontSize (int s)
 Sets the node label font size. More...
 
void SetHeight (int h)
 Sets the node height. More...
 
bool IsFit ()
 Gets whether the node size is fitted to the label or not. More...
 
void SetFit (bool f)
 Sets the node fit property. More...
 
int GetLabelColorRGB ()
 Gets the node label color. More...
 
int GetWidth ()
 Gets the node width. More...
 
void SetLabelColor (System.Drawing.Color c)
 Sets the color of the label. More...
 
void SetLabel (System.String l)
 Sets the node label. More...
 
void SetColorRGB (int c)
 Sets the node color. More...
 
void SetColor (System.Drawing.Color c)
 Sets the color of the node. More...
 
System.String GetLabel ()
 Gets the node label. More...
 
void SetShape (com.sparsity.sparksee.gdb.NodeShape s)
 Sets the node shape. More...
 
int GetHeight ()
 Gets the node height. More...
 
 NodeExport ()
 Creates a new instance.
 
System.Drawing.Color GetColor ()
 Gets the color of the node.
 
System.Drawing.Color GetLabelColor ()
 Gets the color of the label.
 

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

int com.sparsity.sparksee.gdb.NodeExport.GetColorRGB ( )

Gets the node color.

Returns
The node color.
int com.sparsity.sparksee.gdb.NodeExport.GetFontSize ( )

Gets the node label font size.

Returns
The node label font size.
int com.sparsity.sparksee.gdb.NodeExport.GetHeight ( )

Gets the node height.

Returns
The node height in pixels.
System.String com.sparsity.sparksee.gdb.NodeExport.GetLabel ( )

Gets the node label.

Returns
The node label.
int com.sparsity.sparksee.gdb.NodeExport.GetLabelColorRGB ( )

Gets the node label color.

Returns
The node label color.
com.sparsity.sparksee.gdb.NodeShape com.sparsity.sparksee.gdb.NodeExport.GetShape ( )

Gets the node shape.

Returns
The node shape.
int com.sparsity.sparksee.gdb.NodeExport.GetWidth ( )

Gets the node width.

Returns
The node width in pixels.
bool com.sparsity.sparksee.gdb.NodeExport.IsFit ( )

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 com.sparsity.sparksee.gdb.NodeExport.SetColor ( System.Drawing.Color  c)

Sets the color of the node.

Parameters
cNew value.
void com.sparsity.sparksee.gdb.NodeExport.SetColorRGB ( int  c)

Sets the node color.

Parameters
cThe node color.
void com.sparsity.sparksee.gdb.NodeExport.SetFit ( bool  f)

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'.
void com.sparsity.sparksee.gdb.NodeExport.SetFontSize ( int  s)

Sets the node label font size.

Parameters
s[in] The node label font size.
void com.sparsity.sparksee.gdb.NodeExport.SetHeight ( int  h)

Sets the node height.

Parameters
h[in] The node height in pixels.
void com.sparsity.sparksee.gdb.NodeExport.SetLabel ( System.String  l)

Sets the node label.

Parameters
l[in] The node label.
void com.sparsity.sparksee.gdb.NodeExport.SetLabelColor ( System.Drawing.Color  c)

Sets the color of the label.

Parameters
cNew value.
void com.sparsity.sparksee.gdb.NodeExport.SetLabelColorRGB ( int  c)

Sets the node label color.

Parameters
c[in] The node label color.
void com.sparsity.sparksee.gdb.NodeExport.SetShape ( com.sparsity.sparksee.gdb.NodeShape  s)

Sets the node shape.

Parameters
s[in] The node shape.
void com.sparsity.sparksee.gdb.NodeExport.SetWidth ( int  w)

Gets the node width.

Parameters
wThe node width in pixels.