edu.iastate.metnet.birdseyeview
Class ViewInfo

java.lang.Object
  extended by edu.iastate.metnet.birdseyeview.ViewInfo

public class ViewInfo
extends java.lang.Object

The ViewInfo Class holds information about the different Bird's Eye Views such as ID, name, etc. Each instance of this class holds information about one view.

Author:
Matt Studham Created Jan 22, 2005

Constructor Summary
ViewInfo(java.lang.String n, int i)
          Constructor.
 
Method Summary
 boolean equals(ViewInfo v)
          This method checks the given view info object to see if its ID matches the ID of this object.
 int getCapacity()
           
 java.lang.Integer getId()
          Returns the id.
 int getminCapacity()
           
 java.lang.String getName()
          Returns the name.
 int getTextpanelCapacity()
           
 boolean idMatches(int i)
          This method checks the given integer to see if it matches the ID of this object.
 void setCapacity(int capacity)
           
 void setminCapacity(int capacity)
           
 void setTextpanelCapacity(int capacity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewInfo

public ViewInfo(java.lang.String n,
                int i)
Constructor.

Parameters:
n - Name of view
i - Integer ID of view
Method Detail

idMatches

public boolean idMatches(int i)
This method checks the given integer to see if it matches the ID of this object.

Parameters:
i -
Returns:
boolean

equals

public boolean equals(ViewInfo v)
This method checks the given view info object to see if its ID matches the ID of this object.

Parameters:
v -
Returns:
boolean

getId

public java.lang.Integer getId()
Returns the id.

Returns:
Integer

getName

public java.lang.String getName()
Returns the name.

Returns:
String

getCapacity

public int getCapacity()
Returns:
dotcapacity

setCapacity

public void setCapacity(int capacity)

getminCapacity

public int getminCapacity()
Returns:
dotcapacity

setminCapacity

public void setminCapacity(int capacity)

getTextpanelCapacity

public int getTextpanelCapacity()
Returns:
textPanelCapacity

setTextpanelCapacity

public void setTextpanelCapacity(int capacity)