Class ButtonObject

java.lang.Object
  |
  +--ButtonObject

public class ButtonObject
extends java.lang.Object

Used to create two-dimensional arrays of type JButton.

Author:
Karen Stevens

Field Summary
 javax.swing.JButton[] col
          Array of JButton.
 
Constructor Summary
ButtonObject()
          Constructor Initializes array of 7 JButton, accessible by col.
 
Method Summary
 void setData(int y)
          Sets which buttons will be viewable.
 
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.JButton[] col
Array of JButton.
Constructor Detail

ButtonObject

public ButtonObject()
Constructor Initializes array of 7 JButton, accessible by col.
Method Detail

setData

public void setData(int y)
Sets which buttons will be viewable.
Parameters:
y - Value from 0-7 of the number of buttons visible in array.