de.cau.cs.kieler.klay.layered.graph
Class LInsets.Double

java.lang.Object
  extended by de.cau.cs.kieler.klay.layered.graph.LInsets
      extended by de.cau.cs.kieler.klay.layered.graph.LInsets.Double
Enclosing class:
LInsets

public static class LInsets.Double
extends LInsets

Specifies KInsets in double coordinates.

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from class de.cau.cs.kieler.klay.layered.graph.LInsets
LInsets.Double
 
Field Summary
 double bottom
          The inset from the bottom.
 double left
          The inset from the left.
 double right
          The inset from the right.
 double top
          The inset from the top.
 
Constructor Summary
LInsets.Double()
          Creates a new instance with all fields set to 0.0.
LInsets.Double(double top, double left, double bottom, double right)
          Creates a new instance initialized with the given values.
 
Method Summary
 void copy(LInsets.Double other)
          Copy insets values from another double valued insets.
 boolean equals(Object obj)
          
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

top

public double top
The inset from the top.


bottom

public double bottom
The inset from the bottom.


left

public double left
The inset from the left.


right

public double right
The inset from the right.

Constructor Detail

LInsets.Double

public LInsets.Double()
Creates a new instance with all fields set to 0.0.


LInsets.Double

public LInsets.Double(double top,
                      double left,
                      double bottom,
                      double right)
Creates a new instance initialized with the given values.

Parameters:
top - the inset from the top.
left - the inset from the left.
bottom - the inset from the bottom.
right - the inset from the right.
Method Detail

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object

copy

public void copy(LInsets.Double other)
Copy insets values from another double valued insets.

Parameters:
other - another insets