Serialized Form


Package bb.gui

Class bb.gui.BasicStrokeSerializer extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

width

float width
 

cap

int cap
 

join

int join
 

miterlimit

float miterlimit
 

dash

float[] dash
 

dash_phase

float dash_phase
 

Class bb.gui.DialogInputSecure extends JDialog implements Serializable

serialVersionUID: 1L

Serialized Fields

textFieldSecure

TextFieldSecure textFieldSecure
A TextFieldSecure instance that is used by this class to input highly sensitive text.

 

Class bb.gui.Displayer extends JFrame implements Serializable

serialVersionUID: 1L

Serialized Fields

prefsName

String prefsName
 

Class bb.gui.DocumentLimitedLength extends PlainDocument implements Serializable

serialVersionUID: 1L

Serialized Fields

numberCharsMax

int numberCharsMax
Maximum number of chars that this instance will hold.

Contract: is > 0.

 

Class bb.gui.GroupLayout2 extends GroupLayout implements Serializable

serialVersionUID: 1L

Serialization Methods

readExternal

public void readExternal(ObjectInput oi)
                  throws IllegalStateException
Customizes deserialization.

This method does nothing beyond checking the calling thread. Its sole purpose is to keep its unserializable superclass from getting called.

Note that the public no-arg constructor will have been called prior to the deserialization process calling this method. Therefore, after this method returns, this instance has GroupLayout2.hostDummy as its host forever, regardless of what value it had before serialization; it will always be a worthless instance. So, users of this class must manually restore a clean new instance when deserializing.

Serial Data:
none: no data is read
Throws:
IllegalStateException - if calling thread is not EventQueue's dispatch thread

writeExternal

public void writeExternal(ObjectOutput oo)
                   throws IllegalStateException
Customizes serialization.

This method does nothing beyond checking the calling thread. Its sole purpose is to keep its unserializable superclass from getting called.

Serial Data:
none: no data is written
Throws:
IllegalStateException - if calling thread is not EventQueue's dispatch thread

Class bb.gui.LinePanel extends JPanel implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream ois)
                 throws IllegalStateException,
                        ClassNotFoundException,
                        IOException,
                        NotActiveException
Customizes deserialization.

Background: the sole issue is that Sun screwed up and failed to make GroupLayout implement Serializable. This class's GroupLayout-related fields are all transient, so no problem here. Unfortunately, our superlass, JPanel, retains a reference to the layout manager and we have no control over its serialization.

The solution is that we use a GroupLayout2 for LinePanel.groupLayout, since it is serializable in some sense. Well, GroupLayout2 does not actually write or read any data during serialization, but at least it does not throw any Exceptions. This enables serialization of this class to proceed without modification (which is why there is no implementation of writeObject).

To deserialize here, this method first calls ObjectInputStream.defaultReadObject(), which restores all of this class's non-transient state as well as its superclass's (including all the components that were added). Then, since it has its LinePanel.axis field available, it only need call initLayout to recreate the GroupLayout-related fields.

Throws:
IllegalStateException - if calling thread is not EventQueue's dispatch thread
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O problem occurs
NotActiveException
Serialized Fields

axis

LinePanel.Axis axis
Contract: is never null.

 

Class bb.gui.LookAndFeelDialog extends JDialog implements Serializable

serialVersionUID: 1L

Serialized Fields

target

Component target
The Component whose Look and Feel will be changed by this instance.

 

buttonGroup

ButtonGroup buttonGroup
ButtonGroup for all the Look and Feel choices.

 

Class bb.gui.MessageDialog extends Dialog implements Serializable

serialVersionUID: 1L

Class bb.gui.RectangleCanvas extends Canvas implements Serializable

serialVersionUID: 1L

Class bb.gui.Strut extends Component implements Serializable

serialVersionUID: 1L

Serialized Fields

axis

int axis
Stores the orientation axis of this strut.

 

strutLength

int strutLength
Stores the length of this strut along the orientation axis.

 

maxTransverse

int maxTransverse
Stores the maximum transverse (i.e. perpendicular direction) extent of this strut.

 

preferredTransverse

int preferredTransverse
Stores the preferred transverse (i.e. perpendicular direction) extent of this strut.

 

minTransverse

int minTransverse
Stores the minimum transverse (i.e. perpendicular direction) extent of this strut.

 

Class bb.gui.TextFieldSecure extends JPasswordField implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream ois)
                 throws ClassNotFoundException,
                        IOException,
                        NotActiveException
Customizes deserialization. This method manually sets the caret field to a CaretSecure instance, since Sun wrongly declared that field transient. (If you look in the source code of JTextComponent, there is the comment "This should be serializable", so confirm in a later release of the JVM whether or not you need this method--may be able to eliminate.)

Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O problem occurs
NotActiveException - if the stream is not currently reading objects

Class bb.gui.ThrowableDialog extends JDialog implements Serializable

serialVersionUID: 1L

Serialized Fields

owner

Component owner
The Frame or Dialog that owns this instance; may be null.

 

message

String message
 

throwable

Throwable throwable
 

showOnlyBasicInfo

boolean showOnlyBasicInfo
 

Package bb.servlet

Class bb.servlet.RequestEcho extends HttpServlet implements Serializable

serialVersionUID: 1L


Package bb.util

Class bb.util.CaseInsensitiveComparator extends Object implements Serializable

serialVersionUID: 1L

Class bb.util.Collections2.UnmodifiableNavigableSet extends Unmodifiables.UnmodifiableSortedSet<E> implements Serializable

serialVersionUID: -3241754943941475848L

Serialized Fields

ns

NavigableSet<E> ns
 

Class bb.util.ConcurrentHashSet extends AbstractSet<E> implements Serializable

serialVersionUID: 1L

Serialized Fields

map

ConcurrentHashMap<K,V> map
 

Class bb.util.Date2 extends Date implements Serializable

serialVersionUID: 1L

Class bb.util.LocaleTimeZoneUtil.LocaleComparator extends Object implements Serializable

serialVersionUID: 1L

Class bb.util.ReflectUtil.FieldComparator extends Object implements Serializable

serialVersionUID: 1L

Class bb.util.Unmodifiables.UnmodifiableCollection extends Object implements Serializable

serialVersionUID: 1820017752578914078L

Serialized Fields

c

Collection<E> c
 

Class bb.util.Unmodifiables.UnmodifiableList extends Unmodifiables.UnmodifiableCollection<E> implements Serializable

serialVersionUID: -283967356065247728L

Serialization Methods

readResolve

private Object readResolve()
UnmodifiableRandomAccessList instances are serialized as UnmodifiableList instances to allow them to be deserialized in pre-1.4 JREs (which do not have UnmodifiableRandomAccessList). This method inverts the transformation. As a beneficial side-effect, it also grafts the RandomAccess marker onto UnmodifiableList instances that were serialized in pre-1.4 JREs. Note: Unfortunately, UnmodifiableRandomAccessList instances serialized in 1.4.1 and deserialized in 1.4 will become UnmodifiableList instances, as this method was missing in 1.4.

Serialized Fields

list

List<E> list
 

Class bb.util.Unmodifiables.UnmodifiableMap extends Object implements Serializable

serialVersionUID: -1034234728574286014L

Serialized Fields

m

Map<K,V> m
 

Class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet extends Unmodifiables.UnmodifiableSet<Map.Entry<K,V>> implements Serializable

serialVersionUID: 7854390611657943733L

Class bb.util.Unmodifiables.UnmodifiableRandomAccessList extends Unmodifiables.UnmodifiableList<E> implements Serializable

serialVersionUID: -2542308836966382001L

Serialization Methods

writeReplace

private Object writeReplace()
Allows instances to be deserialized in pre-1.4 JREs (which do not have UnmodifiableRandomAccessList). UnmodifiableList has a readResolve method that inverts this transformation upon deserialization.

Class bb.util.Unmodifiables.UnmodifiableSet extends Unmodifiables.UnmodifiableCollection<E> implements Serializable

serialVersionUID: -9215047833775013803L

Class bb.util.Unmodifiables.UnmodifiableSortedMap extends Unmodifiables.UnmodifiableMap<K,V> implements Serializable

serialVersionUID: -8806743815996713206L

Serialized Fields

sm

SortedMap<K,V> sm
 

Class bb.util.Unmodifiables.UnmodifiableSortedSet extends Unmodifiables.UnmodifiableSet<E> implements Serializable

serialVersionUID: -4929149591599911165L

Serialized Fields

ss

SortedSet<E> ss