Serialized Form


Package org.diamondspin

Class org.diamondspin.DS3dContentFrame extends DSFrame implements Serializable

Class org.diamondspin.DSAnnotationPanel extends JPanel implements Serializable

Serialized Fields

DSFrame1

DSFrame DSFrame1

DSStrokeList

ArrayList<E> DSStrokeList
The list of strokes

Class org.diamondspin.DSEditorPane extends JEditorPane implements Serializable

Class org.diamondspin.DSElementEvent extends EventObject implements Serializable

Serialized Fields

type

int type

cause

int cause

d

double d

alpha

double alpha

beta

double beta

scale

double scale

fangle

double fangle

fproportion

double fproportion

width

int width

height

int height

grab_x

int grab_x

grab_y

int grab_y

center_x

int center_x

center_y

int center_y

Class org.diamondspin.DSFoldingManager extends Object implements Serializable

Serialized Fields

element

DSFrame element

foldable

boolean foldable

foldReverse

boolean foldReverse

foldShapeFront

Polygon foldShapeFront

foldShapeBack

Polygon foldShapeBack

foldPoint

Point2D.Double foldPoint

foldAngle

double foldAngle

backOpacity

float backOpacity

frontOpacity

float frontOpacity

foldProportion

double foldProportion

foldPoint1

Point2D.Double foldPoint1

foldPoint2

Point2D.Double foldPoint2

corners_resize_TL_back

boolean corners_resize_TL_back

corners_resize_BR_back

boolean corners_resize_BR_back

corner_rotation_back

boolean corner_rotation_back

corner_fold_back

boolean corner_fold_back

foldType

int foldType

Class org.diamondspin.DSFrame extends JInternalFrame implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

backPane

Container backPane

backGlassPane

Container backGlassPane

grabCornerPoint

Point2D.Double grabCornerPoint

mode

int mode

annotationOptions

int annotationOptions

behavior

int behavior
behavior is how element behave in the polar coordiate system when dragged. We are using the BETATED behavior by default


d

double d
Distance to the center of the circular layout 0.0-1.0


alpha

double alpha
Angle from the right horitontal direction. Like the trigonometric circle ! 0-2PI


annotatable

boolean annotatable

idOwner

int idOwner
the user who owns this object


beta

double beta
Angle around its center ! 0-2PI


scale

double scale
scale factor to resize the element at low level (pixel by pixel). 1.0 most of the time.


minimumScale

double minimumScale

maximumScale

double maximumScale

absoluteScale

double absoluteScale
absolute scale relative to original element size useful for size sharing mode


initDiagonal

double initDiagonal
the intial length of the element's diagonal, used for comparison to determine absolute scale


corners_resize_TL

boolean corners_resize_TL
if the corners for rotation, resize or fold are displayed


corners_resize_BR

boolean corners_resize_BR

corner_rotation

boolean corner_rotation

corner_fold

boolean corner_fold

rotatable

boolean rotatable

zoomable

boolean zoomable

fingerRotatable

boolean fingerRotatable

lastRotationEvent

DSTouchEvent lastRotationEvent

fingerRotationMode

DSFrame.FingerRotationMode fingerRotationMode

fingerRotationSpeed

DSFrame.FingerRotationSpeed fingerRotationSpeed

diffAngle

double diffAngle

absoluteShiftAngle

float absoluteShiftAngle

jViewport1

JViewport jViewport1
scrollable window should return their JViewport here. If the contentPane is a JViewport it will be done automatically. otherwise you can extend this function or call setViewPort().


active

boolean active
if the component is active or not


scaleCorrection

double scaleCorrection
Even if a document has its own scale, it can be affected by a global scale effect (blackhole, etc.) Like alpha which is also dependant of the global angle to know where the element is on the screen Min - 1.0 During resizing scale factor is changed and must be saved


dTopLeftCorner

Point dTopLeftCorner
Where the mouse cursor grabbed the window (0,0 only if the user clicks in the first pixel of the component !)


center

Point center
The center around which the frame rotate


jComboBox1

DSJComboBox jComboBox1
because if a popup component is used we must keep track of it to redispatch events to the popup content. used only for dispatch events.


titlebar

int titlebar
NONE, TOP, BOTTOM or BOTH


transparency

int transparency

shadow

int shadow

frontier

int frontier

shadowManager

DSShadowManager shadowManager

shadowNeedRefresh

boolean shadowNeedRefresh

foldingManager

DSFoldingManager foldingManager

thisDSFrame

DSFrame thisDSFrame

slaveElementList

ArrayList<E> slaveElementList

slavePosition

int slavePosition
TOP, BOTTOM or IN_BETWEEN


betaAbsFlag

int betaAbsFlag

menubar

DSFrame.DSMenuBarProxy menubar

oldmenubar

DSMenuBar oldmenubar

slaveTransform

AffineTransform slaveTransform

fixedPointForRotation

int fixedPointForRotation

savedCenter

Point savedCenter

savedRotationCornerPosition

Point2D.Double savedRotationCornerPosition

previousMousePosition

Point previousMousePosition

previousPreviousMousePosition

Point previousPreviousMousePosition

curvature

double curvature

savedBeta

double savedBeta

snapAngle

double snapAngle

inertiaType

int inertiaType

invertiaCenter

Point2D.Double invertiaCenter

invertiaMesh

Point2D.Double[][] invertiaMesh

Class org.diamondspin.DSFrame.DSInternalFrameTitlePane extends DSMetalInternalFrameTitlePane implements Serializable

Serialized Fields

inkButton

org.diamondspin.DSFrame.NoFocusButton inkButton

Class org.diamondspin.DSFrame.DSMenuBarProxy extends JPanel implements Serializable

Serialized Fields

m

DSMenuBar m

Class org.diamondspin.DSGestureEvent extends AWTEvent implements Serializable

Serialized Fields

user

int user

boundingBox

Rectangle2D boundingBox

center

Point2D center

shape

int shape

Class org.diamondspin.DSImage extends DSFrame implements Serializable

Serialized Fields

MaximumSide

int MaximumSide

imageID

int imageID

imageTransparency

float imageTransparency

bw

boolean bw

image1

BufferedImage image1

labeled

boolean labeled

Header

String Header

Footer

String Footer

ImageName

String ImageName

MaxScale

double MaxScale

fingers

Point2D.Double[] fingers

distToScaleOne

double distToScaleOne

delta

double delta

fingersglob

Point2D.Double[] fingersglob

initBeta

double initBeta

saveMode

int saveMode

firstFinger

int firstFinger

Class org.diamondspin.DSInertiaManager.PointInTime extends Point2D.Double implements Serializable

Serialized Fields

time

long time

Class org.diamondspin.DSJComboBox extends JComboBox implements Serializable

Serialized Fields

dsTabletopPane

DSTabletopPane dsTabletopPane
everything is diplayed in a DSTabletopPane. We work in a centralized architecture


scrollPane1

JScrollPane scrollPane1

list

JList list

slave

DSFrame slave

PopupVisible

boolean PopupVisible
overload the swing mechanism which can't work here

Class org.diamondspin.DSJoglTabletopPane extends DSTabletopPane implements Serializable

Serialized Fields

panel

javax.media.opengl.awt.GLCanvas panel

glu

javax.media.opengl.glu.GLU glu

glContext

javax.media.opengl.GLContext glContext

profile

javax.media.opengl.GLProfile profile

mipmapQuality

boolean mipmapQuality

TEXTURE_POLICY

int TEXTURE_POLICY

joglDSView

boolean joglDSView

joglDSTopView

boolean joglDSTopView

repeatBg

boolean repeatBg

frtex_list

HashMap<K,V> frtex_list

frbgtex_list

HashMap<K,V> frbgtex_list

shtex_list

HashMap<K,V> shtex_list

updt_list

HashMap<K,V> updt_list

updates

boolean[] updates

lastElems

DSElement[] lastElems

TimeStartJogl

long TimeStartJogl

NbRepaintJogl

int NbRepaintJogl

openGLWorker

javax.media.opengl.GLEventListener openGLWorker

textureUpdater

DSElementListener textureUpdater

glListenerList

ArrayList<E> glListenerList

elementWatcher

DSViewContentListener elementWatcher

viewWatcher

DSViewListener viewWatcher

updatebg

boolean updatebg

updatefg

boolean updatefg

Class org.diamondspin.DSKeyboardPanel extends JPanel implements Serializable

Serialized Fields

buttons

JButton[] buttons

lines

JPanel[] lines

zoomNumerator

int zoomNumerator

zoomDenominator

int zoomDenominator

KeyColor

Color KeyColor

TextColor

Color TextColor

BackgroundColor

Color BackgroundColor

keyboardType

int keyboardType

mouseAdapt

DSKeyboardPanel.KeybdMouseAdapter mouseAdapt

Modifiers

int Modifiers

IDOwner

int IDOwner

Class org.diamondspin.DSKeyboardPanel.KeybdMouseAdapter extends MouseAdapter implements Serializable

Class org.diamondspin.DSMenuBar extends JMenuBar implements Serializable

Serialized Fields

IDOwner

int IDOwner

betaAbsFlag

int betaAbsFlag

reverse

boolean reverse

type

int type

frontColor

Color frontColor

IDWaiter

int IDWaiter

automaticallyAssignOwner

boolean automaticallyAssignOwner

Active

boolean Active
if the component is active or not


DrawArc

boolean DrawArc

dsTabletopPane

DSTabletopPane dsTabletopPane
everything is diplayed in a DSTabletopPane. We work in a centralized architecture


alpha

double alpha

MaxHeight

int MaxHeight

Behavior

int Behavior

anglesForMenus

HashMap<K,V> anglesForMenus

theta

double theta

openedMenu

int openedMenu

MenusHighlighted

HashMap<K,V> MenusHighlighted

isHidden

boolean isHidden

Class org.diamondspin.DSPile extends DSFrame implements Serializable

Serialized Fields

moverList

HashMap<K,V> moverList

betaList

HashMap<K,V> betaList

fsave

HashMap<K,V> fsave

colors

Color[] colors

unpileOnDoubleTap

boolean unpileOnDoubleTap

fmode

int fmode

fanOnTwoFingers

boolean fanOnTwoFingers

fuser

int fuser

fip

Point fip

fop

Point fop

frip

Point frip

frop

Point frop

freeze

boolean freeze

Class org.diamondspin.DSPileEvent extends EventObject implements Serializable

Serialized Fields

slave

DSElement slave

Class org.diamondspin.DSPoint extends Point2D implements Serializable

Serialized Fields

x

double x
The X coordinate of this Point2D.

Since:
1.2

y

double y
The Y coordinate of this Point2D.

Since:
1.2

Class org.diamondspin.DSPopupMenu extends JPopupMenu implements Serializable

Serialized Fields

dsTabletopPane

DSTabletopPane dsTabletopPane

JMenuItemSelected

JMenuItem JMenuItemSelected

JMenuItemClicked

JMenuItem JMenuItemClicked

MousePress

Point MousePress

LastMouseClic

Point LastMouseClic

IDOwner

int IDOwner

IDWaiter

int IDWaiter

InteractionState

int InteractionState

frontColor

Color frontColor

alpha

double alpha
0-2PI is better but I solved the angle distance problem in DSTabletopPane so it doesn't matter now !


beta

double beta

betaAbsFlag

int betaAbsFlag

d

double d
D is the distance to the center of the table from the center of the component


dOrigin

double dOrigin
Same thing than D at the beginning but D can change if the user drag the component DOrigin will remain the same to remember the origin


alphaOrigin

double alphaOrigin
Same thing than Alpha at the beginning but Alpha can change if the user drag the component AlphaOrigin will remain the same to remember the origin


Scale

double Scale
Scale factor to resize the element at low level (pixel by pixel). 1.0 most of the time.


DSElemen1

DSElement DSElemen1

Class org.diamondspin.DSShadowManager extends Object implements Serializable

Serialized Fields

element

DSFrame element

shadowHighQuality

boolean shadowHighQuality

shadowAdditionnalAngle

double shadowAdditionnalAngle

shadowSourceAlpha

double shadowSourceAlpha

shadowSourceD

double shadowSourceD

shadowSize

int shadowSize

shadowOpacity

float shadowOpacity

shadowClip

Shape shadowClip

shadowDistance_x

int shadowDistance_x

shadowDistance_y

int shadowDistance_y

shadowDistance

int shadowDistance

Class org.diamondspin.DSSlot extends DSFrame implements Serializable

Serialized Fields

frameStates

HashMap<K,V> frameStates

listenersList

HashMap<K,V> listenersList

color

Color color

autoAlign

boolean autoAlign

dirUp

boolean dirUp

absorbAtProportion

double absorbAtProportion

Class org.diamondspin.DSStroke extends Object implements Serializable

Serialized Fields

strokePoints

ArrayList<E> strokePoints
all the points of the stroke


strokeSizes

ArrayList<E> strokeSizes

strokeTimes

ArrayList<E> strokeTimes

state

int state

idOwner

int idOwner

AttachedElement1

DSElement AttachedElement1

d

double d

alpha

double alpha

beta

double beta

minX

int minX

minY

int minY

maxX

int maxX

maxY

int maxY

color1

Color color1

active

boolean active

Class org.diamondspin.DSStrokeEvent extends EventObject implements Serializable

Serialized Fields

stroke

DSStroke stroke

consumed

boolean consumed

Class org.diamondspin.DSTabletopEvent extends EventObject implements Serializable

Serialized Fields

gesture

DSGestureEvent gesture

dragElement

DSElement dragElement

userID

int userID

view

DSView view

engine

DSEngine engine

Class org.diamondspin.DSTabletopPane extends JDesktopPane implements Serializable

Serialized Fields

tableRadius

int tableRadius
The radius of the circular table.

To do:
maybe compute this instead of hardcoding it ?

activeView

DSView activeView
The actual view (the one the user sees ) capable to accept events.


userColors

Color[] userColors
the colors associated to users


oldAngleToFace

Float oldAngleToFace
Which angle the elements faced (used during animation)


dsMenuBarManager1

DSMenuBarManager dsMenuBarManager1
The collaborator in charge of handling menubars


dsPopupMenuManager1

DSPopupMenuManager dsPopupMenuManager1
The collaborator in charge of handling popup menus


Magnetid

int Magnetid

magnetRatio

double magnetRatio
How much the element must face a certain angle (0 = face the border, 1 = face totally the angle)


facingAngle

double facingAngle
Which angle the elements must face (if magnetized). During an animation AngleToFace is between OldAngleToFace and MagnetAngle. At the end it should be = MagnetAngle


NextAngleToFace

Float NextAngleToFace

Squarified

boolean Squarified
if the menubars magnetize the documents to the closest border direction instead of the direction of the center of the menubar


MagnetAngle

double MagnetAngle
Angle where the magnet magnetised the table


saveAngle

double saveAngle
save the angle to use it in priority over MagnetAngle


oldTableCenter

Point oldTableCenter

tableCenter

Point tableCenter

tableAngle

double tableAngle

tableZoom

double tableZoom

angleInit

double angleInit
To save the angle of the view when starts to drag&drop it.


startDrag

Point startDrag

betaInit

double betaInit
as AngleInit saves the angle where the drag&drop started, BetaInit save the angle of the dragged element when it starts to move. for instance it could return there if dropped at the wrong place


zoomInit

double zoomInit

distInit

double distInit

DSTableListenerList

EventListenerList DSTableListenerList
register a DSSTablelistener


DeformationMode

int DeformationMode
The fisheye mode actually used


AsynchronousRepaint

Thread AsynchronousRepaint
To refresh the interface asynchronously to the user events. Here is an other thread !


DoubleBuffered

boolean DoubleBuffered

HiddenBuffer

BufferedImage HiddenBuffer

BackgroundTableImage

BufferedImage BackgroundTableImage

BackgroundTableImage24

BufferedImage BackgroundTableImage24

topScreenImage

BufferedImage topScreenImage

HiddenGraphics

Graphics HiddenGraphics

BTIHiddenGraphics

Graphics BTIHiddenGraphics

BTIHiddenGraphics24

Graphics BTIHiddenGraphics24

topScreenGraphics

Graphics2D topScreenGraphics

SavedMenubarsGraphicsTransform

AffineTransform SavedMenubarsGraphicsTransform

nbDisp

int nbDisp

NbRepaint

int NbRepaint

NbRepaintAll

int NbRepaintAll

first_repaint

boolean first_repaint

TimeStart

long TimeStart

engine

DSEngine engine

AffineTransform2

AffineTransform AffineTransform2

touchOrder

int[] touchOrder

DSViewEmpty

DSView DSViewEmpty
an empty view to start. creating an other view is a good idea to use the library


ActionMode

int[] ActionMode
Mode that indicates what each user is doing.


cursorList

float[][] cursorList

cursorModes

boolean[] cursorModes

dragObjects

DSElement[] dragObjects
The list of the elements in the top layer, i.e., the ones which are actually drag & dropped by the users.


BackgroundImage

BufferedImage BackgroundImage
An image to display in background

Class org.diamondspin.DSTouchEvent extends MouseEvent implements Serializable

Serialized Fields

touchID

int touchID

BoundingBox

Rectangle2D BoundingBox

ReferencePoint

Point ReferencePoint

TouchPointCount

int TouchPointCount

fingerAngle

float fingerAngle

touchStrength

float touchStrength

Class org.diamondspin.DSViewContentEvent extends EventObject implements Serializable

Serialized Fields

view

DSDefaultView view

Class org.diamondspin.DSViewEvent extends EventObject implements Serializable

Serialized Fields

gesture

DSGestureEvent gesture

Class org.diamondspin.DSWebFrame extends DSFrame implements Serializable

Serialized Fields

DSEditorPane1

DSEditorPane DSEditorPane1

jScrollPane1

JScrollPane jScrollPane1

JPanel1

JPanel JPanel1

DSJComboBox1

DSJComboBox DSJComboBox1

DSKeyboardPanel1

DSKeyboardPanel DSKeyboardPanel1

Document1

String Document1

URL1

URL URL1

ActiveURL

URL ActiveURL

History

ArrayList<E> History

HistoryNames

HashMap<K,V> HistoryNames

controlX

int controlX

controlY

int controlY

selectedText

String selectedText

previewDocument

String previewDocument

Package org.diamondspin.metal

Class org.diamondspin.metal.DSMetalInternalFrameTitlePane extends BasicInternalFrameTitlePane implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Throws:
IOException
Serialized Fields

isPalette

boolean isPalette

paletteCloseIcon

Icon paletteCloseIcon

paletteTitleHeight

int paletteTitleHeight

selectedBackgroundKey

String selectedBackgroundKey
Key used to lookup Color from UIManager. If this is null, getWindowTitleBackground is used.


selectedForegroundKey

String selectedForegroundKey
Key used to lookup Color from UIManager. If this is null, getWindowTitleForeground is used.


selectedShadowKey

String selectedShadowKey
Key used to lookup shadow color from UIManager. If this is null, getPrimaryControlDarkShadow is used.


wasClosable

boolean wasClosable
Boolean indicating the state of the JInternalFrames closable property at updateUI time.


buttonsWidth

int buttonsWidth

buttonsHeight

int buttonsHeight

activeBumps

org.diamondspin.metal.DSMetalBumps activeBumps

inactiveBumps

org.diamondspin.metal.DSMetalBumps inactiveBumps

paletteBumps

org.diamondspin.metal.DSMetalBumps paletteBumps

activeBumpsHighlight

Color activeBumpsHighlight

activeBumpsShadow

Color activeBumpsShadow



Copyright © 2006 Frederic Vernier(LIMSI) Chia Shen(MERL) Guillaume Besacier(LIMSI). All Rights Reserved.