ikbs.tools.utils
Class Panel3D

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Panel
              extended by ikbs.tools.utils.IkbsPanel
                  extended by ikbs.tools.utils.Panel3D
All Implemented Interfaces:
GetFrame, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
Direct Known Subclasses:
PanelWeakHierarchy

public class Panel3D
extends IkbsPanel

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static int NOTHING
           
static int WITH_ALL
           
static int WITHOUT_BOTTOM
           
static int WITHOUT_LEFT
           
static int WITHOUT_RIGHT
           
static int WITHOUT_TOP
           
 
Fields inherited from class ikbs.tools.utils.IkbsPanel
c
 
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
Panel3D()
           
Panel3D(int choix)
           
Panel3D(int choix, java.awt.Component c)
           
Panel3D(int choix, int index, int longueur)
          Construction d'un Panel3D avec une partie du bord non dessiné
 
Method Summary
 int getIndex()
          retourne l'index
 int getLongeur()
          retourne la longueur de la bordure non dessinée
 void paint(java.awt.Graphics g)
          Dessin du panel
 void paintBottom(java.awt.Graphics g, int w, int h)
           
 void paintBottom(java.awt.Graphics g, int w, int h, int index, int longueur)
           
 void paintComplet(java.awt.Graphics g)
          On dessine complètement la bordure du Panel 3D
 void paintLeft(java.awt.Graphics g, int w, int h)
           
 void paintLeft(java.awt.Graphics g, int w, int h, int index, int longueur)
           
 void paintRight(java.awt.Graphics g, int w, int h)
           
 void paintRight(java.awt.Graphics g, int w, int h, int index, int longueur)
           
 void paintTop(java.awt.Graphics g, int w, int h)
           
 void paintTop(java.awt.Graphics g, int w, int h, int index, int longueur)
           
 void paintWithoutBottom(java.awt.Graphics g)
           
 void paintWithoutLeft(java.awt.Graphics g)
           
 void paintWithoutRight(java.awt.Graphics g)
           
 void paintWithoutTop(java.awt.Graphics g)
          On ne dessine que partiellement la bordure du Panel Bordure supérieur manquante
 void setIndex(int index)
          Affectation de l'index de la bordure non dessinée
 void setLongueur(int longueur)
          Affectation de la longeur de la bordure non dessinée
 
Methods inherited from class ikbs.tools.utils.IkbsPanel
adaptedSize, getFrame, initGridBagConstraint, xyPosition, xyPosition
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WITH_ALL

public static final int WITH_ALL
See Also:
Constant Field Values

WITHOUT_TOP

public static final int WITHOUT_TOP
See Also:
Constant Field Values

WITHOUT_LEFT

public static final int WITHOUT_LEFT
See Also:
Constant Field Values

WITHOUT_RIGHT

public static final int WITHOUT_RIGHT
See Also:
Constant Field Values

WITHOUT_BOTTOM

public static final int WITHOUT_BOTTOM
See Also:
Constant Field Values

NOTHING

public static final int NOTHING
See Also:
Constant Field Values
Constructor Detail

Panel3D

public Panel3D()

Panel3D

public Panel3D(int choix)

Panel3D

public Panel3D(int choix,
               int index,
               int longueur)
Construction d'un Panel3D avec une partie du bord non dessiné


Panel3D

public Panel3D(int choix,
               java.awt.Component c)
Method Detail

paint

public void paint(java.awt.Graphics g)
Dessin du panel

Overrides:
paint in class java.awt.Container

setLongueur

public void setLongueur(int longueur)
Affectation de la longeur de la bordure non dessinée


getLongeur

public int getLongeur()
retourne la longueur de la bordure non dessinée


setIndex

public void setIndex(int index)
Affectation de l'index de la bordure non dessinée


getIndex

public int getIndex()
retourne l'index


paintComplet

public void paintComplet(java.awt.Graphics g)
On dessine complètement la bordure du Panel 3D


paintWithoutTop

public void paintWithoutTop(java.awt.Graphics g)
On ne dessine que partiellement la bordure du Panel Bordure supérieur manquante


paintWithoutLeft

public void paintWithoutLeft(java.awt.Graphics g)

paintWithoutRight

public void paintWithoutRight(java.awt.Graphics g)

paintWithoutBottom

public void paintWithoutBottom(java.awt.Graphics g)

paintTop

public void paintTop(java.awt.Graphics g,
                     int w,
                     int h)

paintTop

public void paintTop(java.awt.Graphics g,
                     int w,
                     int h,
                     int index,
                     int longueur)

paintLeft

public void paintLeft(java.awt.Graphics g,
                      int w,
                      int h)

paintLeft

public void paintLeft(java.awt.Graphics g,
                      int w,
                      int h,
                      int index,
                      int longueur)

paintBottom

public void paintBottom(java.awt.Graphics g,
                        int w,
                        int h)

paintBottom

public void paintBottom(java.awt.Graphics g,
                        int w,
                        int h,
                        int index,
                        int longueur)

paintRight

public void paintRight(java.awt.Graphics g,
                       int w,
                       int h)

paintRight

public void paintRight(java.awt.Graphics g,
                       int w,
                       int h,
                       int index,
                       int longueur)