IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.desktop
Class ComponentInfo

java.lang.Object
  extended bycom.ibm.dse.desktop.ComponentInfo

public class ComponentInfo
extends java.lang.Object

This class stores information about the original size of all the components of the Desktop. When a resize is done, the new size is modified, depending on the original size stored by this class.


Constructor Summary
ComponentInfo()
          This constructor creates a ComponentInfo object.
 
Method Summary
 java.awt.Point getLocation()
          Returns the value of the location property.
 java.awt.Dimension getSize()
          Returns the value of the size property.
 void setLocation(java.awt.Point newLocation)
          Sets the value of the newLocation property.
 void setSize(java.awt.Dimension NewSize)
          Sets the value of the newSize property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentInfo

public ComponentInfo()
This constructor creates a ComponentInfo object.

Method Detail

getLocation

public java.awt.Point getLocation()
Returns the value of the location property.

Returns:
java.awt.Point - the current value of location

getSize

public java.awt.Dimension getSize()
Returns the value of the size property.

Returns:
java.awt.Dimension - the current value of size

setLocation

public void setLocation(java.awt.Point newLocation)
Sets the value of the newLocation property.

Parameters:
newLocation - java.awt.Point - the new value of the property

setSize

public void setSize(java.awt.Dimension NewSize)
Sets the value of the newSize property.


IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005