|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Canvas | +--blue.painter.Painter | +--blue.music.Fret
Field Summary | |
protected java.awt.Color |
color
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Method Summary | |
void |
draw()
|
int |
fretNumber()
|
void |
play()
|
void |
play(Note n,
Instrument i)
|
void |
rest(Note n,
Instrument i)
|
void |
setBackground(java.awt.Color c)
|
void |
stop()
|
java.lang.String |
stringName()
|
Methods inherited from class blue.painter.Painter |
AWTtoPainterMap,
bk,
canvasHeight,
canvasWidth,
connect,
display,
draw,
draw,
draw,
draw,
draw,
draw,
draw,
drawBoundary,
drawFret,
drawString,
drawStringCentered,
fd,
getColor,
getFont,
getPenColor,
heading,
hide,
hide,
ibk,
ifd,
ila,
ilt,
invert,
invert,
ira,
irt,
jbk,
jfd,
jla,
jlt,
jra,
jrt,
la,
lt,
mapAWTtoPainter,
mapPainterToAWT,
moveTo,
paint,
paint,
paint,
paint,
paint,
paint,
paintCanvas,
position,
printCanvasDimensions,
printState,
ra,
redisplay,
rt,
setFontSize,
setHeading,
setPenColor,
setPenColor,
setPenFont,
setPenFont,
setPosition,
setPosition,
tl,
tl,
tr,
tr,
undisplay,
update,
view,
view |
Methods inherited from class java.awt.Canvas |
addNotify |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
deliverEvent,
disable,
disableEvents,
dispatchEvent,
doLayout,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getAlignmentX,
getAlignmentY,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentAt,
getComponentAt,
getComponentOrientation,
getCursor,
getDropTarget,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getMaximumSize,
getMinimumSize,
getName,
getParent,
getPeer,
getPreferredSize,
getSize,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
imageUpdate,
inside,
invalidate,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
layout,
list,
list,
list,
list,
list,
locate,
location,
lostFocus,
minimumSize,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
paramString,
postEvent,
preferredSize,
prepareImage,
prepareImage,
print,
printAll,
processComponentEvent,
processEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setEnabled,
setFont,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus,
validate |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected java.awt.Color color
Method Detail |
public void setBackground(java.awt.Color c)
public java.lang.String stringName()
public int fretNumber()
public void play()
public void stop()
public void play(Note n, Instrument i)
public void rest(Note n, Instrument i)
public void draw()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |