Initial revision of switch type table

git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@48 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
Jared Gould 2006-07-01 16:08:29 +00:00
parent 7871e733db
commit 299393832f
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
package enginuity.maps;
import java.awt.Color;
import javax.swing.JCheckBox;
public class TableSwitch extends Table {
private byte[] on = new byte[0];
private byte[] off = new byte[0];
private JCheckBox checkbox = new JCheckBox();
public TableSwitch() {
}
public void setDataSize(int size) {
on = new byte[size];
off = new byte[size];
}
public void setOnValues(byte[] input) {
for (int i = 0; i < on.length; i++) {
on[i] = input[i];
}
}
public void setOffValues(byte[] input) {
for (int i = 0; i < off.length; i++) {
off[i] = input[i];
}
}
public void colorize() { }
public void cursorUp() { }
public void cursorDown() { }
public void cursorLeft() { }
public void cursorRight() { }
public void setAxisColor(Color color) { }
}