GrammarScope  4.0.0
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
grammarscope.jung2.layout.HWeighingLinearLayout< V, E > Class Template Reference
Inheritance diagram for grammarscope.jung2.layout.HWeighingLinearLayout< V, E >:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.jung2.layout.HWeighingLinearLayout< V, E >:
Collaboration graph
[legend]

Public Member Functions

 HWeighingLinearLayout (final Graph< V, E > graph)
 
 HWeighingLinearLayout (final Graph< V, E > graph, final Dimension size)
 
 HWeighingLinearLayout (final Graph< V, E > graph, final Transformer< V, Point2D > initializer, final Dimension size)
 
 HWeighingLinearLayout (final Graph< V, E > graph, final Transformer< V, Point2D > initializer)
 
VertexWeightFunction< V > getWeightFunction ()
 
void setWeightFunction (final VertexWeightFunction< V > function)
 
void initialize ()
 
- Public Member Functions inherited from grammarscope.jung2.layout.HLinearLayout< V, E >
 HLinearLayout (final Graph< V, E > graph)
 
 HLinearLayout (final Graph< V, E > graph, final Transformer< V, Point2D > initializer)
 
 HLinearLayout (final Graph< V, E > graph, final Dimension size)
 
 HLinearLayout (final Graph< V, E > graph, final Transformer< V, Point2D > initializer, final Dimension size)
 
float getBase ()
 
void setBase (final float base)
 
void reset ()
 
- Public Member Functions inherited from grammarscope.jung2.layout.OrderedLayout< V, E >
 OrderedLayout (final Graph< V, E > graph, final Transformer< V, Point2D > initializer)
 
 OrderedLayout (final Graph< V, E > graph, final Dimension size)
 
 OrderedLayout (final Graph< V, E > graph, final Transformer< V, Point2D > initializer, final Dimension size)
 
Comparator< V > getComparator ()
 
void setComparator (final Comparator< V > comparator)
 

Protected Member Functions

 HWeighingLinearLayout (final Graph< V, E > graph, @SuppressWarnings("SameParameterValue") final float base)
 
- Protected Member Functions inherited from grammarscope.jung2.layout.HLinearLayout< V, E >
 HLinearLayout (final Graph< V, E > graph, final float base)
 
- Protected Member Functions inherited from grammarscope.jung2.layout.OrderedLayout< V, E >
 OrderedLayout (final Graph< V, E > graph)
 

Private Attributes

VertexWeightFunction< V > function = v -> 1.d
 

Additional Inherited Members

- Protected Attributes inherited from grammarscope.jung2.layout.HLinearLayout< V, E >
int margin = 20
 
float base = 0.5f
 
- Protected Attributes inherited from grammarscope.jung2.layout.OrderedLayout< V, E >
Comparator< V > comparator = Comparator.comparingInt(Object::hashCode)
 

Constructor & Destructor Documentation

◆ HWeighingLinearLayout() [1/5]

◆ HWeighingLinearLayout() [2/5]

grammarscope.jung2.layout.HWeighingLinearLayout< V, E >.HWeighingLinearLayout ( final Graph< V, E >  graph,
final Dimension  size 
)

◆ HWeighingLinearLayout() [3/5]

grammarscope.jung2.layout.HWeighingLinearLayout< V, E >.HWeighingLinearLayout ( final Graph< V, E >  graph,
final Transformer< V, Point2D >  initializer,
final Dimension  size 
)

◆ HWeighingLinearLayout() [4/5]

grammarscope.jung2.layout.HWeighingLinearLayout< V, E >.HWeighingLinearLayout ( final Graph< V, E >  graph,
final Transformer< V, Point2D >  initializer 
)

◆ HWeighingLinearLayout() [5/5]

grammarscope.jung2.layout.HWeighingLinearLayout< V, E >.HWeighingLinearLayout ( final Graph< V, E >  graph,
@SuppressWarnings("SameParameterValue") final float  base 
)
protected

Member Function Documentation

◆ getWeightFunction()

Get vertex weight function

Returns
vertex weight function

Implements grammarscope.jung2.VertexWeightFunction< V >.HasVertexWeightFunction< V >.

◆ initialize()

◆ setWeightFunction()

void grammarscope.jung2.layout.HWeighingLinearLayout< V, E >.setWeightFunction ( final VertexWeightFunction< V >  function)

Set vertex weight function

Parameters
functionvertex weight function

Implements grammarscope.jung2.VertexWeightFunction< V >.HasVertexWeightFunction< V >.

Member Data Documentation

◆ function


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