Class PanelObject

java.lang.Object
  |
  +--PanelObject

public class PanelObject
extends java.lang.Object

Used for arrays of preformatted JPanel.

Author:
Karen Stevens

Field Summary
 javax.swing.JPanel[] col
          Array of JPanel Objects.
 
Constructor Summary
PanelObject()
          Initializes array of JPanel to size seven.
 
Method Summary
 void setData(int y)
          Sets how many panels in array are visible.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

col

public javax.swing.JPanel[] col
Array of JPanel Objects.
Constructor Detail

PanelObject

public PanelObject()
Initializes array of JPanel to size seven.
Method Detail

setData

public void setData(int y)
Sets how many panels in array are visible.
Parameters:
y - Number between 0-7 setting number visible.