net.sourceforge.simplegamenet.util.proportionlayout
Class ProportionLine

java.lang.Object
  extended bynet.sourceforge.simplegamenet.util.proportionlayout.ProportionLine
All Implemented Interfaces:
Serializable

class ProportionLine
extends Object
implements Serializable

Author:
Geoffrey and Jeroen

Field Summary
(package private)  int absoluteMinimumWidth
           
(package private)  int minimumWidth
           
(package private)  int preferredWidth
           
(package private)  double proportion
           
(package private)  int width
           
(package private)  int x
           
 
Constructor Summary
(package private) ProportionLine(int absoluteMinimumWidth, double proportion)
          Creates a new instance of ProportionLine
 
Method Summary
(package private) static int arrangeLines(ArrayList lines, TreeSet lineParts, int sizeType)
           
(package private) static void layoutLines(ArrayList lines, int lineX, int extraWidth, int typeGap, double lineProportionTotal, int sizeType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

absoluteMinimumWidth

int absoluteMinimumWidth

proportion

double proportion

minimumWidth

int minimumWidth

preferredWidth

int preferredWidth

x

int x

width

int width
Constructor Detail

ProportionLine

ProportionLine(int absoluteMinimumWidth,
               double proportion)
         throws IllegalArgumentException
Creates a new instance of ProportionLine

Method Detail

arrangeLines

static int arrangeLines(ArrayList lines,
                        TreeSet lineParts,
                        int sizeType)

layoutLines

static void layoutLines(ArrayList lines,
                        int lineX,
                        int extraWidth,
                        int typeGap,
                        double lineProportionTotal,
                        int sizeType)


Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.