FreeHEP API
Version current

org.freehep.swing.layout
Class PercentLayout.Constraint

java.lang.Object
  extended byorg.freehep.swing.layout.PercentLayout.Constraint
Enclosing class:
PercentLayout

public static class PercentLayout.Constraint
extends Object

Source Code:
PercentLayout.Constraint.java

Constructor Summary
PercentLayout.Constraint(double x, double y, double width, double height)
          Creates a Constraint Object.
 
Method Summary
 void setConstraints(double x, double y, double width, double height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PercentLayout.Constraint

public PercentLayout.Constraint(double x,
                                double y,
                                double width,
                                double height)
Creates a Constraint Object.

Parameters:
x - The X position of the top left corner of the component (0-100)
y - The Y position of the top left corner of the component (0-100)
width - The percentage width of the component (0-100)
height - The percentage height of the component (0-100)
Method Detail

setConstraints

public void setConstraints(double x,
                           double y,
                           double width,
                           double height)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.