org.grinvin.io

Class Bounds


public class Bounds
extends java.lang.Object

Class to handle loading and saving of location and size information. It is currently used by the DefaultWindowWrapper to save its window information to jdom.

Field Summary

Point
location
Dimension
size

Constructor Summary

Bounds(Element element)
Bounds(Point location, Dimension size)

Method Summary

Element
toElement()

Field Details

location

public final Point location

size

public final Dimension size

Constructor Details

Bounds

public Bounds(Element element)
            throws IOFormatException

Bounds

public Bounds(Point location,
              Dimension size)

Method Details

toElement

public Element toElement()