|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.client.image.draw.AbstractDrawable edu.jhu.tmaj.client.image.draw.LineDrawable edu.jhu.tmaj.client.image.draw.ArrowDrawable
public final class ArrowDrawable
An arrow
Field Summary |
---|
Fields inherited from class edu.jhu.tmaj.client.image.draw.LineDrawable |
---|
x1, x2, y1, y2 |
Fields inherited from class edu.jhu.tmaj.client.image.draw.AbstractDrawable |
---|
BLACK_SQUARE_SIZE, drawableLabel, isCompleted, MARGIN, userID |
Constructor Summary | |
---|---|
ArrowDrawable(DrawableLabel d)
|
Method Summary | |
---|---|
void |
draw(java.awt.Graphics g)
Sets the color and draws the black squares aroudn the Drawable |
InsertSQL |
getInsertSQL(int scoredImageID)
Returns a SQL statement to update an existing shape in the database. |
Methods inherited from class edu.jhu.tmaj.client.image.draw.LineDrawable |
---|
createFromShapeRecord, getBlackSquares, getInsertSQL, getUpdateSQL, handleMouseDragged, handleMousePressed, isPointNearLine, isValid, move, shouldPointActivate, toString |
Methods inherited from class edu.jhu.tmaj.client.image.draw.AbstractDrawable |
---|
allowMoving, changeNormalStatusToModified, createNewShapeOnMousePress, drawBlackSquare, drawBlackSquares, getColor, getDrawingX, getDrawingY, getNormalX, getNormalY, getShapeID, getStatus, getUserID, handleKeyPressed, handleMouseReleased, isCompleted, isHighlighted, repaintDrawableLabel, setDrawableLabel, setIsCompleted, setIsHighlighted, setShapeID, setStatus, setUserID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.jhu.tmaj.client.image.draw.Drawable |
---|
createFromShapeRecord, createNewShapeOnMousePress, getShapeID, getStatus, getUpdateSQL, handleKeyPressed, handleMouseDragged, handleMousePressed, handleMouseReleased, isCompleted, isHighlighted, isValid, setIsCompleted, setIsHighlighted, setShapeID, setStatus, setUserID, shouldPointActivate |
Constructor Detail |
---|
public ArrowDrawable(DrawableLabel d)
Method Detail |
---|
public void draw(java.awt.Graphics g)
AbstractDrawable
draw
in interface Drawable
draw
in class LineDrawable
public InsertSQL getInsertSQL(int scoredImageID)
AbstractDrawable
getInsertSQL
in interface Drawable
getInsertSQL
in class LineDrawable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |