|
|||||||
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 | +--BiomFrame.JPView | +--BiomFrame.CBiomView
Bioms Views : JPView extension to manage Biomorph
Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
Field Summary | |
(package private) int |
DispGeneHStep
|
(package private) int |
DispGeneVStep
|
(package private) int |
HorizStep
|
(package private) CBiomorphUniverse |
MyUniverse
Pointer to the Universe |
(package private) int |
SelectedGene
|
(package private) int |
SelectedGrid
|
(package private) int |
Type
|
(package private) static int |
TYPEMAIN
|
(package private) static int |
TYPEZOOM
|
(package private) int |
VerticStep
|
Fields inherited from class BiomFrame.JPView |
GrBuff,
Height,
ImgBuff,
lHeight,
lWidth,
Width |
Fields inherited from class java.awt.Canvas |
base,
graphicsConfig,
nameCounter,
serialVersionUID |
Fields inherited from class java.awt.Component |
actionListenerK,
adjustmentListenerK,
appContext,
assert,
background,
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
changeSupport,
componentListener,
componentListenerK,
componentOrientation,
componentSerializedDataVersion,
containerListenerK,
cursor,
dropTarget,
enabled,
eventMask,
focusListener,
focusListenerK,
font,
foreground,
hasFocus,
height,
incRate,
inputMethodListener,
inputMethodListenerK,
isInc,
isPacked,
itemListenerK,
keyListener,
keyListenerK,
LEFT_ALIGNMENT,
locale,
LOCK,
minSize,
mouseListener,
mouseListenerK,
mouseMotionListener,
mouseMotionListenerK,
name,
nameExplicitlySet,
newEventsOnly,
ownedWindowK,
parent,
peer,
peerFont,
popups,
prefSize,
RIGHT_ALIGNMENT,
serialVersionUID,
textListenerK,
TOP_ALIGNMENT,
valid,
visible,
width,
windowListenerK,
x,
y |
Constructor Summary | |
CBiomView(CBiomorphUniverse univ,
java.awt.Color c,
int type)
Construct a BiomView with background color and type |
Method Summary | |
(package private) int |
GetGridAt(int x,
int y)
Returns the # of the grid at point x,y |
(package private) int |
GetGridDirAt(int x,
int y)
Returns the # of the gene at point x,y, if click on Gene disp Square |
int |
GetType()
Type getter |
boolean |
mouseDown(java.awt.Event e,
int x,
int y)
Mouse Down : Process Selected grid and Gene/dir |
boolean |
mouseDrag(java.awt.Event e,
int x,
int y)
Mouse Drag : modify Genome |
boolean |
mouseUp(java.awt.Event e,
int x,
int y)
MouseUp : Select a new Father according to gene modification |
(package private) void |
PaintBackground()
Paint View Background |
(package private) void |
PaintGenomeBack()
Paint the Genome Square Background |
void |
ResizeGrBuff()
Resize Graphic Buffer and Steps |
(package private) void |
SwitchView()
Switch between views |
Methods inherited from class BiomFrame.JPView |
ClearBkg,
destroy,
paint,
SetDim,
SetLogicalSize |
Methods inherited from class java.awt.Canvas |
|
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
areInputMethodsEnabled,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
deliverEvent,
disable,
disableEvents,
dispatchEvent,
dispatchEventImpl,
doLayout,
enable,
enable,
enableEvents,
enableInputMethods,
eventEnabled,
firePropertyChange,
getAlignmentX,
getAlignmentY,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentAt,
getComponentAt,
getComponentOrientation,
getCursor,
getDropTarget,
getFont_NoClientCode,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getMaximumSize,
getMinimumSize,
getName,
getNativeContainer,
getParent_NoClientCode,
getParent,
getPeer,
getPreferredSize,
getSize,
getSize,
getToolkit,
getToolkitImpl,
getTreeLock,
getWidth,
getWindowForObject,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
initIDs,
inside,
invalidate,
isDisplayable,
isDoubleBuffered,
isEnabled,
isEnabledImpl,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
layout,
lightweightPrint,
list,
list,
list,
list,
list,
locate,
location,
lostFocus,
minimumSize,
mouseEnter,
mouseExit,
mouseMove,
move,
nextFocus,
paintAll,
paramString,
postEvent,
preferredSize,
prepareImage,
prepareImage,
print,
printAll,
processComponentEvent,
processEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
readObject,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setEnabled,
setFont,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus,
update,
validate,
writeObject |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
static final int TYPEMAIN
static final int TYPEZOOM
CBiomorphUniverse MyUniverse
int HorizStep
int VerticStep
int DispGeneHStep
int DispGeneVStep
int Type
int SelectedGrid
int SelectedGene
Constructor Detail |
public CBiomView(CBiomorphUniverse univ, java.awt.Color c, int type)
Method Detail |
void PaintBackground()
void PaintGenomeBack()
int GetGridAt(int x, int y)
int GetGridDirAt(int x, int y)
public int GetType()
public void ResizeGrBuff()
void SwitchView()
public boolean mouseDown(java.awt.Event e, int x, int y)
public boolean mouseDrag(java.awt.Event e, int x, int y)
public boolean mouseUp(java.awt.Event e, int x, int y)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |