// @@
// @@
/*
* Wi.Ser Framework
*
* Version: 1.8.1, 20-September-2007
* Copyright (C) 2005 Dirk von der Weiden <dvdw@imail.de>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library located in LGPL.txt in the
* license directory; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*
* If this agreement does not cover your requirements, please contact us
* via email to get detailed information about the commercial license
* or our service offerings!
*
*/
// @@
package de.ug2t.unifiedGui;
/**
* @author Dirk
*
* date: 12.04.2004 project: WiSer-Framework
*
* <p>
* Represents the bounds of a widget
* </p>
*/
public final class UnFixedSize
{
public static final int MIN_SIZE = 1;
public static final int MAX_SIZE = 2;
public static final int PREF_SIZE = 4;
public static final int FIX_SIZE = 7;
private int pem_fx = -1;
private int pem_fy = -1;
private int pem_type = 0;
public UnFixedSize(int w, int h, int type)
{
this.pem_fx = w;
this.pem_fy = h;
this.pem_type = type;
}
public int pcmf_getW()
{
return (this.pem_fx);
}
public int pcmf_getH()
{
return (this.pem_fy);
}
public int pcmf_getType()
{
return (this.pem_type);
}
}
|