|
UC Berkeley Group for User Interface Research Updated November 17, 2000 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--edu.berkeley.guir.lib.satin.Sheet | +--edu.berkeley.guir.brainstorm.BrainstormSheet
A brainstorming application.
Revisions: 1.0.0 06-27-2000 JH Created class
Inner classes inherited from class edu.berkeley.guir.lib.satin.Sheet |
Sheet.SheetGraphicalObjectGroup |
Inner classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent |
Inner classes inherited from class edu.berkeley.guir.lib.satin.SatinConstants |
SatinConstants.ObjectPoolAffineTransform, SatinConstants.ObjectPoolPoint2D, SatinConstants.ObjectPoolPolygon2D, SatinConstants.ObjectPoolRectangle2D, SatinConstants.ObjectPoolStringBuffer, SatinConstants.UniqueAffineTransform, SatinConstants.UniquePoint2D, SatinConstants.UniquePolygon2D, SatinConstants.UniqueRectangle2D |
Field Summary | |
static double |
DEFAULT_PATCH_LENGTH
Currently unused. |
static int |
NUMFRAMES
Number of frames for animation. |
Fields inherited from class edu.berkeley.guir.lib.satin.Sheet |
addFilter, BACKGROUND_COLOR_DEFAULT, BACKGROUND_COLOR_PROPERTY, CURRENTSTROKE_STYLE_FILE |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface edu.berkeley.guir.brainstorm.BrainstormConstants |
PORT |
Fields inherited from interface edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup |
DEFAULT_POS_POLICY, KEEP_ABS_POS, KEEP_REL_POS |
Fields inherited from interface edu.berkeley.guir.lib.satin.objects.GraphicalObject |
GESTUREINTRP_CLPROPERTY, INKINTRP_CLPROPERTY, STYLE_CLPROPERTY, VIEW_CLPROPERTY |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
BrainstormSheet()
Default constructor. |
Method Summary | |
void |
addInkToNote(int id,
TimedStroke[] stks)
Not yet implemented. |
void |
addLink(int idAA,
int idBB)
Link two notes together. |
int |
addNote(BrainNote note)
Add the specified note. |
int |
addNote(double x,
double y)
Add a note (with an empty label) to the specified location (relative coords). |
int |
addNote(Label newLabel,
double x,
double y)
Add a note at the specified location (relative coords). |
int |
addNote(Label newLabel,
Shape s)
Create a note of with the specified shape and label. |
int |
addNote(Shape s)
Create a note of with the specified shape. |
void |
addProperty()
Not yet implemented. |
void |
bringDownALayer(int id)
Currently not implemented. |
void |
bringToBottomLayer(int id)
Currently not implemented. |
void |
bringToTopLayer(int id)
Currently not implemented. |
void |
bringUpALayer(int id)
Currently not implemented. |
void |
clearInkFromNote(int id)
Not yet implemented. |
void |
clearLinks()
|
void |
damageNote(int id)
Well, I'm not happy with this, but we need to update links too. |
List |
getAllLinks()
|
List |
getAllNotes()
Get a list of all the notes. |
BrainNote |
getNote(int id)
Get a note given an ID. |
void |
moveNoteTo(int id,
double x,
double y)
Move patch to the specified location (relative coords). |
void |
paintComponent(Graphics g)
|
void |
removeLink(int id)
Remove all notes associated with this note. |
void |
removeLink(int idAA,
int idBB)
Link two notes together. |
void |
removeNote(int id)
Remove the specified note. |
void |
removeProperty()
Not yet implemented. |
void |
toggleProperty()
Not yet implemented. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUIClassID, paramString, updateUI |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.berkeley.guir.lib.satin.objects.GraphicalObject |
isVisible, setVisible |
Methods inherited from interface java.awt.Shape |
getBounds |
Field Detail |
public static final int NUMFRAMES
public static final double DEFAULT_PATCH_LENGTH
Constructor Detail |
public BrainstormSheet()
Method Detail |
public List getAllNotes()
public List getAllLinks()
public BrainNote getNote(int id)
public int addNote(double x, double y)
public int addNote(Label newLabel, double x, double y)
label
- is the name of the patch.x
- is the top-left x-location (relative coords).y
- is the top-left y-location (relative coords).public int addNote(Shape s)
public int addNote(Label newLabel, Shape s)
public int addNote(BrainNote note)
public void removeNote(int id)
public void moveNoteTo(int id, double x, double y)
public void bringUpALayer(int id)
public void bringToTopLayer(int id)
public void bringDownALayer(int id)
public void bringToBottomLayer(int id)
public void addLink(int idAA, int idBB)
public void removeLink(int idAA, int idBB)
public void removeLink(int id)
public void clearLinks()
public void addInkToNote(int id, TimedStroke[] stks)
public void clearInkFromNote(int id)
public void addProperty()
public void removeProperty()
public void toggleProperty()
public void damageNote(int id)
public void paintComponent(Graphics g)
paintComponent
in class Sheet
|
Copyright Information | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |