Package jltk.testing
Class TabellenTest
- java.lang.Object
-
- jltk.App
-
- jltk.testing.TabellenTest
-
public class TabellenTest extends App
-
-
Constructor Summary
Constructors Constructor Description TabellenTest()
Konstruktor für Objekte der Klasse TabellenTest
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendColumn(String pText)
void
appendColumn(String pText, String[] pContent)
void
appendRow()
void
appendRow(Object[] pContent)
void
autosize()
void
clear()
void
createColumn(int pIndex, String pTitle)
void
createColumns(int pNumber)
void
createColumns(String[] pTitle)
void
deselect(int pRow)
void
deselect(int pRow, int pColumn)
void
deselectAll()
void
disableEditable()
void
disableSelection()
void
enableCellSelection()
void
enableEditable()
void
enableEditable(int pRow)
void
enableMultiSelection()
void
enableRowSelection()
void
enableSingleSelection()
void
eventChanged()
void
eventEdited()
void
eventSelected()
String[]
getColumn(int pIndex)
String
getItem(int pRow, int pColumn)
String[][]
getItems()
String[]
getRow(int pIndex)
int[][]
getSelectedCellsIndices()
String[]
getSelectedColumn()
int
getSelectedColumnIndex()
String[][]
getSelectedColumns()
String
getSelectedItem()
String[]
getSelectedItems()
String[]
getSelectedRow()
int
getSelectedRowIndex()
String[][]
getSelectedRows()
int[]
getSelectedRowsIndices()
void
insertColumn(int pIndex, String pText)
void
insertColumn(int pIndex, String pText, String[] pContent)
void
insertRow(int pIndex)
void
insertRow(int pIndex, Object[] pContent)
boolean
isSelected(int pRow)
boolean
isSelected(int pRow, int pColumn)
void
refresh()
void
removeColumns(int pIndex)
void
removeRow(int pIndex)
void
select(int pRow)
void
select(int pRow, int pColumn)
void
selectAll()
void
setItem(int pRow, int pColumn, String pText)
void
setItems()
void
setItems(String[] pTitle)
-
Methods inherited from class jltk.App
act, delay, getWindow, onFocusGained, onFocusLost, onKeyPressed, onKeyReleased, onMouseClicked, onMouseDoubleClicked, onMouseDragged, onMouseMoved, onMousePressed, onMouseReleased
-
-
-
-
Field Detail
-
tbl
Table tbl
-
-
Method Detail
-
select
public void select(int pRow, int pColumn)
-
select
public void select(int pRow)
-
selectAll
public void selectAll()
-
deselect
public void deselect(int pRow, int pColumn)
-
deselect
public void deselect(int pRow)
-
deselectAll
public void deselectAll()
-
disableSelection
public void disableSelection()
-
enableMultiSelection
public void enableMultiSelection()
-
enableSingleSelection
public void enableSingleSelection()
-
enableCellSelection
public void enableCellSelection()
-
enableRowSelection
public void enableRowSelection()
-
getRow
public String[] getRow(int pIndex)
-
getColumn
public String[] getColumn(int pIndex)
-
getItem
public String getItem(int pRow, int pColumn)
-
getItems
public String[][] getItems()
-
setItem
public void setItem(int pRow, int pColumn, String pText)
-
setItems
public void setItems()
-
setItems
public void setItems(String[] pTitle)
-
appendColumn
public void appendColumn(String pText)
-
insertColumn
public void insertColumn(int pIndex, String pText)
-
removeColumns
public void removeColumns(int pIndex)
-
createColumns
public void createColumns(int pNumber)
-
createColumns
public void createColumns(String[] pTitle)
-
createColumn
public void createColumn(int pIndex, String pTitle)
-
appendRow
public void appendRow()
-
appendRow
public void appendRow(Object[] pContent)
-
insertRow
public void insertRow(int pIndex, Object[] pContent)
-
insertRow
public void insertRow(int pIndex)
-
removeRow
public void removeRow(int pIndex)
-
getSelectedRowIndex
public int getSelectedRowIndex()
-
getSelectedColumnIndex
public int getSelectedColumnIndex()
-
getSelectedRowsIndices
public int[] getSelectedRowsIndices()
-
getSelectedCellsIndices
public int[][] getSelectedCellsIndices()
-
getSelectedRow
public String[] getSelectedRow()
-
getSelectedRows
public String[][] getSelectedRows()
-
getSelectedColumn
public String[] getSelectedColumn()
-
getSelectedColumns
public String[][] getSelectedColumns()
-
getSelectedItems
public String[] getSelectedItems()
-
getSelectedItem
public String getSelectedItem()
-
isSelected
public boolean isSelected(int pRow)
-
isSelected
public boolean isSelected(int pRow, int pColumn)
-
eventSelected
public void eventSelected()
-
eventEdited
public void eventEdited()
-
eventChanged
public void eventChanged()
-
enableEditable
public void enableEditable(int pRow)
-
enableEditable
public void enableEditable()
-
disableEditable
public void disableEditable()
-
refresh
public void refresh()
-
clear
public void clear()
-
autosize
public void autosize()
-
-