SparkseeNet  6.0.2
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.
 
void SetColorRGB (int color)
 Sets the node color.
 
void SetHeight (int height)
 Sets the node height.
 
int GetFontSize ()
 Gets the node label font size.
 
void SetDefaults ()
 Sets to default values.
 
int GetColorRGB ()
 Gets the node color.
 
bool IsFit ()
 Gets whether the node size is fitted to the label or not.
 
int GetLabelColorRGB ()
 Gets the node label color.
 
int GetWidth ()
 Gets the node width.
 
void SetLabel (System.String label)
 Sets the node label.
 
void SetLabelColor (System.Drawing.Color c)
 Sets the color of the label.
 
void SetColor (System.Drawing.Color c)
 Sets the color of the node.
 
System.String GetLabel ()
 Gets the node label.
 
int GetHeight ()
 Gets the node height.
 
 NodeExport ()
 Creates a new instance.
 
System.Drawing.Color GetColor ()
 Gets the color of the node.
 
void SetLabelColorRGB (int color)
 Sets the node label color.
 
System.Drawing.Color GetLabelColor ()
 Gets the color of the label.
 
void SetWidth (int width)
 Gets the node width.
 
void SetShape (com.sparsity.sparksee.gdb.NodeShape shape)
 Sets the node shape.
 
void SetFit (bool fit)
 Sets the node fit property.
 
void SetFontSize (int size)
 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

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  color)

Sets the node color.

Parameters
colorThe node color.
void com.sparsity.sparksee.gdb.NodeExport.SetFit ( bool  fit)

Sets the node fit property.

Parameters
fit[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  size)

Sets the node label font size.

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

Sets the node height.

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

Sets the node label.

Parameters
label[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  color)

Sets the node label color.

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

Sets the node shape.

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

Gets the node width.

Parameters
widthThe node width in pixels.