sat.awt
Class CanvasSAT

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--sat.awt.CanvasSAT
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class CanvasSAT
extends java.awt.Panel

See Also:
Serialized Form

Inner classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock
 
Field Summary
private  java.awt.Image IMAGEN_FONDO
          Imagen de fondo.
 
Fields inherited from class java.awt.Panel
base, nameCounter, serialVersionUID
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dbg, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads
 
Fields inherited from class java.awt.Component
accessibleContext, actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, privateKey, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
CanvasSAT()
          Construye un nuevo CanvasSAT.
CanvasSAT(java.awt.Image IMAGEN_FONDO)
          Construye un nuevo CanvasSAT.
 
Method Summary
 java.awt.Dimension getMaximumSize()
          Obtener el tamaño máximo del CanvasSAT.
 java.awt.Dimension getMinimumSize()
          Obtener el tamaño mínimo del CanvasSAT.
 java.awt.Dimension getPreferredSize()
          Obtener el tamaño preferido del CanvasSAT.
 java.awt.Image getSource()
          Obtener la imagen de fondo.
 void paint(java.awt.Graphics Gr)
           
 void setImagenFondo(java.awt.Image IMAGEN_FONDO)
          Seleccionar la imagen de fondo.
 
Methods inherited from class java.awt.Panel
, addNotify, constructComponentName, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, adjustListeningChildren, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventImpl, dispatchEventToSelf, doLayout, eventEnabled, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getListeners, getMouseEventTarget, getWindow, initIDs, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, nextFocus, numListening, paintComponents, paintHeavyweightComponents, paramString, postProcessKeyEvent, postsOldMouseEvents, preferredSize, preProcessKeyEvent, print, printComponents, printHeavyweightComponents, processContainerEvent, processEvent, proxyEnableEvents, proxyRequestFocus, readObject, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusOwner, setFont, setLayout, transferFocus, update, validate, validateTree, writeObject
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkit, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isRecursivelyVisible, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, resetGC, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

IMAGEN_FONDO

private java.awt.Image IMAGEN_FONDO
Imagen de fondo.
Constructor Detail

CanvasSAT

public CanvasSAT()
Construye un nuevo CanvasSAT.

CanvasSAT

public CanvasSAT(java.awt.Image IMAGEN_FONDO)
Construye un nuevo CanvasSAT.
Parameters:
IMAGEN_FONDO - Imagen de fondo.
Method Detail

getSource

public java.awt.Image getSource()
Obtener la imagen de fondo. El valor por omisión es null.
Returns:
Imagen de fondo.

getMaximumSize

public java.awt.Dimension getMaximumSize()
Obtener el tamaño máximo del CanvasSAT. Si tiene asociada una imagen de fondo, regresará el tamaño de la imagen como valor.
Overrides:
getMaximumSize in class java.awt.Container
Returns:
Tamaño máximo del CanvasSAT.

getMinimumSize

public java.awt.Dimension getMinimumSize()
Obtener el tamaño mínimo del CanvasSAT. Si tiene asociada una imagen de fondo, regresará el tamaño de la imagen como valor.
Overrides:
getMinimumSize in class java.awt.Container
Returns:
Tamaño mínimo del CanvasSAT.

getPreferredSize

public java.awt.Dimension getPreferredSize()
Obtener el tamaño preferido del CanvasSAT. Si tiene asociada una imagen de fondo, regresará el tamaño de la imagen como valor.
Overrides:
getPreferredSize in class java.awt.Container
Returns:
Tamaño preferido del CanvasSAT.

paint

public void paint(java.awt.Graphics Gr)
Overrides:
paint in class java.awt.Container

setImagenFondo

public void setImagenFondo(java.awt.Image IMAGEN_FONDO)
Seleccionar la imagen de fondo.
Parameters:
IMAGEN_FONDO - Imagen de fondo.