|
|||||||
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 | +--vabase.Cvue
Classe abstraite de gestion graphique
Inner classes inherited from class java.awt.Canvas |
java.awt.Canvas.AccessibleAWTCanvas |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
Field Summary | |
int |
aHauteur
Taille de la zone d'affichage = réelle-cadre |
int |
aLargeur
Taille de la zone d'affichage = réelle-cadre |
static int |
CADREX_DEFAUT
|
static int |
CADREY_DEFAUT
|
java.awt.Graphics |
grBuff
Contexte graphique du double buffering |
static float |
HAUTEURL_DEFAUT
Types de représentation |
static int |
HAUTEURR_DEFAUT
|
static float |
LARGEURL_DEFAUT
|
static int |
LARGEURR_DEFAUT
|
float |
lHauteur
Taille logique |
float |
lLargeur
Taille logique |
static int |
REPRANISOTROPIC
|
static int |
REPRISOTROPIC
|
int |
rHauteur
Taille du Canvas = taille physique |
int |
rLargeur
Taille du Canvas = taille physique |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
Cvue()
Constructeur par défaut |
|
Cvue(java.awt.Color c,
java.awt.Color f,
int repr)
Constructeur avec couleurs |
Method Summary | |
void |
destroy()
destruction du buffer |
void |
effaceFond()
Efface le fond |
int |
getRepresentation()
Renvoit le mode de représentation actif |
int |
lLongueurToRX(float l)
Transforme une longueur logique en réel en X |
int |
lLongueurToRY(float l)
Transforme une longueur logique en réel en Y |
int |
lToRX(float _x)
Conversion logique vers réel en X |
int |
lToRY(float _y)
Conversion logique vers réel en Y |
void |
paint(java.awt.Graphics g)
|
void |
reDim(int mx,
int my)
Mise à jour des valeurs de travail |
void |
redimCadre(int cx,
int cy)
Redimension du cadre |
void |
redimGrBuff()
Initialisation/Mise à jour de la taille de la vue |
void |
repaint()
|
float |
rLongueurToLX(int l)
Transforme une longueur réelle en logique en X |
float |
rLongueurToLY(int l)
Transforme une longueur réelle en logique en Y |
float |
rToLX(int _x)
Conversion réel vers logique en X |
float |
rToLY(int _y)
Conversion réel vers logique en Y |
void |
setDim(float ll,
float hl,
int lr,
int hr,
int cx,
int cy,
float ox,
float oy)
Mise à jour des dimensions |
void |
setRepresentation(int r)
Modification du type de représentation |
Methods inherited from class java.awt.Canvas |
addNotify, getAccessibleContext |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, 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, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, 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, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final float HAUTEURL_DEFAUT
public static final float LARGEURL_DEFAUT
public static final int HAUTEURR_DEFAUT
public static final int LARGEURR_DEFAUT
public static final int REPRANISOTROPIC
public static final int REPRISOTROPIC
public static final int CADREX_DEFAUT
public static final int CADREY_DEFAUT
public float lLargeur
public float lHauteur
public int rHauteur
public int rLargeur
public int aHauteur
public int aLargeur
public java.awt.Graphics grBuff
Constructor Detail |
public Cvue()
public Cvue(java.awt.Color c, java.awt.Color f, int repr)
Method Detail |
public void setDim(float ll, float hl, int lr, int hr, int cx, int cy, float ox, float oy)
public void redimCadre(int cx, int cy)
public void reDim(int mx, int my)
public void setRepresentation(int r)
public int getRepresentation()
public int lToRX(float _x)
public int lToRY(float _y)
public float rToLX(int _x)
public float rToLY(int _y)
public int lLongueurToRX(float l)
public int lLongueurToRY(float l)
public float rLongueurToLX(int l)
public float rLongueurToLY(int l)
public void redimGrBuff()
public void effaceFond()
public void repaint()
repaint
in class java.awt.Component
public void paint(java.awt.Graphics g)
paint
in class java.awt.Canvas
public void destroy()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |