Serialized Form


Package guk

Class guk.Editor implements Serializable

Serialized Fields

contentPane

javax.swing.JPanel contentPane

jMenuBar1

javax.swing.JMenuBar jMenuBar1

jMenuFile

javax.swing.JMenu jMenuFile

jMenuEdit

javax.swing.JMenu jMenuEdit

jMenuHelp

javax.swing.JMenu jMenuHelp

jMenuIM

javax.swing.JMenu jMenuIM

jMenuHelpAbout

javax.swing.JMenuItem jMenuHelpAbout

jToolBar

javax.swing.JToolBar jToolBar

textPane

javax.swing.JTextPane textPane

jMenuOptions

javax.swing.JMenu jMenuOptions

fontsComboBox

javax.swing.JComboBox fontsComboBox

sizeComboBox

javax.swing.JComboBox sizeComboBox

jCheckBoxMenuItemKeyboardMap

javax.swing.JCheckBoxMenuItem jCheckBoxMenuItemKeyboardMap

openAction

javax.swing.Action openAction

saveAction

javax.swing.Action saveAction

saveAsAction

javax.swing.Action saveAsAction

closeAction

javax.swing.Action closeAction

exitAction

javax.swing.Action exitAction

undoAction

javax.swing.Action undoAction

redoAction

javax.swing.Action redoAction

cutAction

javax.swing.Action cutAction

copyAction

javax.swing.Action copyAction

pasteAction

javax.swing.Action pasteAction

attributesChangedAction

javax.swing.Action attributesChangedAction

file

java.io.File file
The current open file

filer

javax.swing.JFileChooser filer
The file chooser used in all operations requiring the user to select a file

filerCWD

java.io.File filerCWD
handle to store the current directory of the file choser, null is home.

frame

javax.swing.JFrame frame
The main frame

undoManager

javax.swing.undo.UndoManager undoManager

docChanged

boolean docChanged
has the current document changed since the last save?

editIM

EditIM editIM
Using Erics GUK IM user interface (uses Unicode fonts).

imd

java.awt.im.spi.InputMethodDescriptor imd
Experimental: Have a global InputMethodDescriptor and InputMethod and control object for manual loading.

im

java.awt.im.spi.InputMethod im

imControl

java.lang.Object imControl

useDynFontSpecials

boolean useDynFontSpecials
Activate this to enable several kludges to enforce using dynamic fonts, not needed normally. Reason: loading fonts by creating a FontLoader seems to add fonts and families to the GraphicsEnvironment. getLocalGraphicsEnvironment().getAvailableFontFamilyNames() implicitly, a simple createFont() seems to be enough! Further, FontOptimizer normally autodetects when FontLoader is needed.

stdFontIndex

int stdFontIndex
Stores the "best" font combo box index that we have found as default

Class guk.Editor_AboutBox implements Serializable

Serialized Fields

panel1

javax.swing.JPanel panel1

panel2

javax.swing.JPanel panel2

insetsPanel1

javax.swing.JPanel insetsPanel1

insetsPanel2

javax.swing.JPanel insetsPanel2

insetsPanel3

javax.swing.JPanel insetsPanel3

button1

javax.swing.JButton button1

imageLabel

javax.swing.JLabel imageLabel

label1

javax.swing.JLabel label1

label2

javax.swing.JLabel label2

label3

javax.swing.JLabel label3

label4

javax.swing.JLabel label4

borderLayout1

java.awt.BorderLayout borderLayout1

borderLayout2

java.awt.BorderLayout borderLayout2

flowLayout1

java.awt.FlowLayout flowLayout1

gridLayout1

java.awt.GridLayout gridLayout1

product

java.lang.String product

version

java.lang.String version

copyright

java.lang.String copyright

comments

java.lang.String comments

Class guk.LocaleSelectorMenuItem implements Serializable

Serialized Fields

myLocale

java.util.Locale myLocale

me

javax.swing.JRadioButtonMenuItem me

frame

java.awt.Frame frame

imControl

GateIM imControl


Package guk.editIM

Class guk.editIM.EditIM implements Serializable

Serialized Fields

jumpField

javax.swing.JTextField jumpField
Here, the user can enter a glyph or a glyph number, preferrably in \\u12ab syntax, to scroll to that glyph. Accessed from both look and feel components.

blockIMButton

javax.swing.JToggleButton blockIMButton
The button to select NONE as the current GUK IM. Accessed from both look and feel components, because the feel wants to know whether a blockimusage command came from the button or the checkbox.

hotkeys

LocaleHotkey[] hotkeys
Ten buttons, each selecting ONE of the GUK IMs as the IM that is used to edit the tables and the jumpField. Used a lot by look, feel and even the sub menu processor.

glyphButton

javax.swing.JButton glyphButton
a button that serves as a glyph preview window. clicking on it could cause some special actions like "copy glyph to cut buffer" or "add glyph to currently selected table2 row, left buffer" or "send key_typed event for that glyph to our creator"... BONUS: a panel where the sub menu processor can present some interaction components for glyph button related things. glyphChar is the char currently visible on glyphButton, to be used by other related buttons. Used by both the look and the feel (the feel dynamically updates the glyph button).

glyphBar

javax.swing.JPanel glyphBar
The glyphBar is a whole panel where another class can create additional user interface elements. Currently, a palette of glyphs (for fast and easy access, filled with glyphs by the user) exists there. Used by both the look and the feel, in particular the sub menu processor.

glyphChar

char glyphChar
The char that is currently visible on the glyph preview button. Updated by the the glyph button update (triggered by the list selection listener and read by the action listener.

table1

javax.swing.JTable table1
The first table is implemented in GlyphTable.java as data model. The tables are the main editor component.
See Also:
GlyphTable

table2

javax.swing.JTable table2
The second table (for many to many compositions, using the data model defined in StringTable.java).
See Also:
StringTable

statusBar

javax.swing.JLabel statusBar
A status bar, and the frame that represents the this-object. Updated by the action listener.

frame

javax.swing.JFrame frame
The frame that we are.

installedLocales

java.util.List installedLocales
We collect lists of installed locales and unicode ranges here. Set up by connectIM, used by the look setup and the action listener.

imControl

java.lang.Object imControl
Have a global InputMethod control object for virtual keyboard control and maybe other things. Used by the feel parts.

subMenuProcessor

EditIMPopups subMenuProcessor
the subMenuProcessor is used to display some sub menus. if it has done something, it throws an ActionEvent to the assigned listener (given as constructor argument). Contains or calls the help and about window, the file type / name requester, glyph button and glyph palette processing and other functions like smaller dialogues to request values from the user, and the clipboard tools.

fileCommandProcessor

FileCommands fileCommandProcessor
the fileCommandProcessor is responsible for reading, writing and merging files into the editor. It can pop up confirmation dialogues, but things like selection of file names and file types are done by subMenuProcessor. Knows the MapTable objects to communicate with. When needed, fileCommandProcessor throws an ActionEvent to the assigned listener (given as constructor argument).

menu

MenuHelpers menu
The MenuHelpers class provides functions like creating menu items and buttons. Initially, no action listener is set.

Class guk.editIM.EditorWarper implements Serializable

Class guk.editIM.GlyphTable implements Serializable

Serialized Fields

usedSlots

java.util.Hashtable usedSlots
the glyph value is simply (char) for any internal row i, but externally, not every row is visible all the time... When key sequences get assigned to glyphs, we use AssignObjects. Because an array for those would be sparse, we use an Hashtable.

myTable

javax.swing.JTable myTable
For some geometry manipulations, we can make use of an object that holds our host JTable (or null).

visor

GTVisibility visor
The visor objects keeps track of which internal rows are externally visible and how row numbers are mapped. Can be controlled by the processCommand() inside.

renderman

GTRenderer renderman
The renderman object provides us with a TableCellRenderer implementation and some scrollTo(row) method, which can be controlled by the processCommand() inside.

Class guk.editIM.HotKey implements Serializable

Serialized Fields

target

javax.swing.AbstractButton target

Class guk.editIM.LocaleHotkey implements Serializable

Serialized Fields

myLocale

java.util.Locale myLocale
The locale which is currently assigned to the button. Clicking the button will trigger an action command selectlocale localename.

me

javax.swing.JToggleButton me
The JToggleButton nature of this object.

Class guk.editIM.MapTable implements Serializable

Serialized Fields

tcRenderer

javax.swing.table.DefaultTableCellRenderer tcRenderer
A standard renderer which we tune below.

transferFormat

int transferFormat
Format to be used by getValueAt and setValueAt (and therefore by Cell Editors, too!).

assignments

java.util.Vector assignments
The table data, can grow on demand using our addRow() method. A flag tells when setValueAt modified the data (other kinds of modfication do not change the flag).

changedFlag

boolean changedFlag

Class guk.editIM.StringTable implements Serializable


Package uk.ac.gate.guk.im

Class uk.ac.gate.guk.im.KeyboardMap.KeyGUI implements Serializable

Serialized Fields

this$0

KeyboardMap this$0

leftBox

javax.swing.Box leftBox

leftUpLabel

javax.swing.JLabel leftUpLabel

leftDownLabel

javax.swing.JLabel leftDownLabel

centerLabel

java.awt.Component centerLabel

low

char low

up

char up

normalBorder

javax.swing.border.Border normalBorder

highlightedBorder

javax.swing.border.Border highlightedBorder