Serialized Form


Package courses.dsv2pvt.messageclasses

Class courses.dsv2pvt.messageclasses.ClientStatus extends Msg implements Serializable

Serialized Fields

fullname

String fullname

icon

Icon icon

Class courses.dsv2pvt.messageclasses.ClientToClientMsg extends Msg implements Serializable

Serialized Fields

recipient

String recipient

Class courses.dsv2pvt.messageclasses.Disconnect extends Msg implements Serializable

Class courses.dsv2pvt.messageclasses.GetMail extends Msg implements Serializable

Class courses.dsv2pvt.messageclasses.Mail extends ClientToClientMsg implements Serializable

Serialized Fields

subject

String subject

message

String message

formatted

boolean formatted

urgent

boolean urgent

timemillis

long timemillis

Class courses.dsv2pvt.messageclasses.MessageFailed extends Msg implements Serializable

Serialized Fields

errorCode

int errorCode

errorMessage

String errorMessage

Class courses.dsv2pvt.messageclasses.Msg extends Object implements Serializable

Serialized Fields

sender

String sender

Class courses.dsv2pvt.messageclasses.Ping extends Msg implements Serializable

Serialized Fields

timeoutmillis

long timeoutmillis

Class courses.dsv2pvt.messageclasses.Pong extends Msg implements Serializable

Serialized Fields

debug

boolean debug

formatted

boolean formatted

Class courses.dsv2pvt.messageclasses.Present extends Msg implements Serializable

Serialized Fields

all

boolean all

subject

String subject

matches

Vector matches

Class courses.dsv2pvt.messageclasses.Talk extends ClientToClientMsg implements Serializable

Serialized Fields

data

Object data

Class courses.dsv2pvt.messageclasses.UGotMail extends Msg implements Serializable

Serialized Fields

mails

Vector mails


Package courses.dsv2pvt.client

Class courses.dsv2pvt.client.ColorPaletteCellRenderer extends Component implements Serializable

Serialized Fields

color

Color color
The color that the renderer should draw itself with the next time it is time to render a cell.


isSelected

boolean isSelected
Set if the cell that is to be drawn is selected. Ignored at present.

Class courses.dsv2pvt.client.ColorPaletteTable extends JTable implements Serializable

Serialized Fields

palette

IColorPalette palette
The palette that the table should provide a graphical representation of

Class courses.dsv2pvt.client.ColorPaletteTableModel extends AbstractTableModel implements Serializable

Serialized Fields

palette

IColorPalette palette
The palette that the table model modelates


rowCount

int rowCount
The number of rows in the model


colCount

int colCount
The number of colums in the model

Class courses.dsv2pvt.client.ColPalWin extends Frame implements Serializable

Class courses.dsv2pvt.client.CurrentColorEvent extends EventObject implements Serializable

Serialized Fields

color

Color color
This is the new current color of the IColorPalette instance


index

int index
This is the index that is used to access the color from an instance of IColorPalette using the setCurrentcolor and getColor methods. It is stored here for efficency.

Class courses.dsv2pvt.client.CurrentPenEvent extends EventObject implements Serializable

Serialized Fields

theNewPen

Pen theNewPen
The pen that has been selected.

Class courses.dsv2pvt.client.Icon extends Object implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Performs necessary deserialization and initializes transient objects

Throws:
IOExceptions - on a read error
ClassNotFoundException - when the version of the class of the icon in the instream is different from the one in the classpath
IOException
Serialized Fields

matrix

int[][] matrix
A grid of SRGB values

Class courses.dsv2pvt.client.IconEditor extends JFrame implements Serializable

Serialized Fields

IconEditorMenu

JMenuBar IconEditorMenu
The menu component with File and About menus.


FileMenu

JMenu FileMenu
The File menu component with New | Open | Save | Save as | Quit items.


NewMenuItem

JMenuItem NewMenuItem
The File->New menu item component


SaveMenuItem

JMenuItem SaveMenuItem
The File->Save menu item component


SaveAsMenuItem

JMenuItem SaveAsMenuItem
The File->Save as menu item component


QuitMenuItem

JMenuItem QuitMenuItem
The File->Quit menu item component


OpenMenuItem

JMenuItem OpenMenuItem
The File->Open menu item component


AboutMenu

JMenu AboutMenu
The About menu component with About | Bogus items.


AboutMenuItem

JMenuItem AboutMenuItem
The About->About menu item component


BogusMenuItem

JRadioButtonMenuItem BogusMenuItem
The About->Bogus menu item component that does nothing


iconEditorGridLayout

GridLayout iconEditorGridLayout
The GridLayout instance used to manage the position of any subcomponents that the IconEditor may have


iconPanelHolderGridLayout

GridLayout iconPanelHolderGridLayout
The GridLayout instance used to manage the position of the iconPanel inside the iconPanelHolder


backPane

JPanel backPane
The panel containing all icon components


iconPanelHolder

JPanel iconPanelHolder
The panel containing the icon panel


iconPanel

IconPanel iconPanel
The icon panel containing all icon editing functions


currentColor

JPanel currentColor
The panel showing the current color


iconPreview

IconPreviewPanel iconPreview
The panel previewing the icon in scale 1:1


colorLabel

JLabel colorLabel
The label containing the text Color


previewLabel

JLabel previewLabel
The label containing the text Preview


updateAdapter

UpdateAdapter updateAdapter
Adapter connecting the preview, the icon panel and the main window


colorAdapter

ColorAdapter colorAdapter
Adapter connecting the currentColor panel and the color palette


penPalWin

PenPalWin penPalWin
Window containing the pen palette


colPalWin

ColPalWin colPalWin
Window containing the color palette


file

File file
The file object where the currently edited Icon is stored


cleanTitle

String cleanTitle
Standard title for main window (DSV2:PVT IconEditor)


dirtyTitle

String dirtyTitle
Title displayed when the current icon has unsaved changes.

Class courses.dsv2pvt.client.IconPanel extends JPanel implements Serializable

Serialized Fields

scaleFactor

int scaleFactor
Scale factor used to draw the icon in a larger than 32x32 fashion. Each pixel in icon is multiplied with scaleFactor in both x and y axis. Scale factor is determined from the size of the panel.


dirty

boolean dirty
Flags if the icon has non-saved changes.


currentIcon

Icon currentIcon
Handle to the currently edited icon.


currentColor

Color currentColor
The currently selected color


currentPen

Pen currentPen
The currently selected pen


outfile

File outfile
A file object pointing to a saved copy of the current icon not necessarily consistent (överensstämmande) with each other

Class courses.dsv2pvt.client.IconPreviewPanel extends JPanel implements Serializable

Serialized Fields

icon

Icon icon
The icon that is painted onto the panel

Class courses.dsv2pvt.client.InvalidIconCoordinateException extends Exception implements Serializable

Class courses.dsv2pvt.client.PenPaletteEvent extends EventObject implements Serializable

Class courses.dsv2pvt.client.PenPalWin extends Frame implements Serializable

Serialized Fields

penPalWinFlowLayout

FlowLayout penPalWinFlowLayout
The layout for this window


penPalette

IPenPalette penPalette
The pen palette that is the model that this windows will present graphically The PenPalWin will be registered as a CurrentPenListener and a PenPaletteListern in the penpalette.


buttons

Hashtable buttons
The pens in the pen palette is represented graphically as buttons with labels with the pen's size


unselectedButtonColor

Color unselectedButtonColor
The color that a button will have if it is not representing the currently selected pen.


selectedButtonColor

Color selectedButtonColor
The color the a button will have if it not represent the currently selected pen.