|
||||||||
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 | +--Gav.JPView | +--Gav.CGavView
Gav Views : JPView extension to manage GAV
Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
Field Summary | |
(package private) int |
CurrentGrid
|
(package private) int |
HorizStep
|
(package private) double |
HorizStepD
|
(package private) static int |
MAXGRID
|
(package private) CGavUniverse |
MyUniverse
Pointer to the Universe |
(package private) int |
NbHorizPlace
|
(package private) int |
NbVerticPlace
|
(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
|
(package private) double |
VerticStepD
|
(package private) int |
VisiblePop
|
Fields inherited from class Gav.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 | |
CGavView(CGavUniverse univ,
java.awt.Color c,
int type)
Construct a GavView with background color and type |
Method Summary | |
int |
GetGrid()
Returns current grid |
(package private) int |
GetGridAt(int x,
int y)
Returns the # of the grid at point x,y |
int |
GetType()
Type getter |
int |
GetVisiblePop()
Returns current visible pop |
boolean |
mouseDown(java.awt.Event e,
int x,
int y)
Mouse Down : Process Selected grid and Gene/dir |
(package private) void |
PaintBackground()
Paint View Background |
void |
ResizeGrBuff()
Resize Graphic Buffer and Steps |
void |
SetGrid(int n)
Set # of places |
(package private) void |
SetSteps()
Set the grid steps |
Methods inherited from class Gav.JPView |
ClearBkg,
destroy,
paint,
repaint,
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,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
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,
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 MAXGRID
static final int TYPEMAIN
static final int TYPEZOOM
CGavUniverse MyUniverse
int NbHorizPlace
int NbVerticPlace
int HorizStep
int VerticStep
double HorizStepD
double VerticStepD
int CurrentGrid
int VisiblePop
int Type
int SelectedGrid
int SelectedGene
Constructor Detail |
public CGavView(CGavUniverse univ, java.awt.Color c, int type)
Method Detail |
void PaintBackground()
public void ResizeGrBuff()
void SetSteps()
public int GetType()
int GetGridAt(int x, int y)
public boolean mouseDown(java.awt.Event e, int x, int y)
public void SetGrid(int n)
public int GetGrid()
public int GetVisiblePop()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |