Added support for multiple keyboards and ability to set the preferences
for size of tibetan font and type and size of roman font.
This commit is contained in:
parent
8e4b508de8
commit
52cdc17794
8 changed files with 222 additions and 50 deletions
|
@ -59,15 +59,14 @@ public class DictionaryTableModel extends AbstractTableModel
|
|||
|
||||
public Object getValueAt(int row, int column)
|
||||
{
|
||||
if (column==0)
|
||||
{
|
||||
if (tibetanActivated)
|
||||
return arrayTibetan[row];
|
||||
else
|
||||
return array[row].getWylie();
|
||||
switch(column)
|
||||
{
|
||||
case 0:
|
||||
if (tibetanActivated) return arrayTibetan[row];
|
||||
else return array[row].getWylie();
|
||||
case 1: return array[row].getDef();
|
||||
default: return array[row].toString();
|
||||
}
|
||||
else
|
||||
return array[row].getDef();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue