net.sourceforge.simplegamenet.util.proportionlayout
Class ProportionLine
java.lang.Object
net.sourceforge.simplegamenet.util.proportionlayout.ProportionLine
- All Implemented Interfaces:
- Serializable
- class ProportionLine
- extends Object
- implements Serializable
- Author:
- Geoffrey and Jeroen
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 |
absoluteMinimumWidth
int absoluteMinimumWidth
proportion
double proportion
minimumWidth
int minimumWidth
preferredWidth
int preferredWidth
x
int x
width
int width
ProportionLine
ProportionLine(int absoluteMinimumWidth,
double proportion)
throws IllegalArgumentException
- Creates a new instance of ProportionLine
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.