|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Dialog | +--Detalles
Análisis detallado de la influencia de parámetros sobre el consumo energético.
Inner classes inherited from class java.awt.Dialog |
java.awt.Dialog.AccessibleAWTDialog |
Inner classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
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 float |
abscisaPunto
|
private java.awt.Button |
boton
|
LienzoDetalle |
canvasDetalle
|
private java.awt.TextArea |
dataText1
|
private java.awt.TextArea |
dataText2
|
private java.awt.TextArea |
dataText3
|
private float |
escalaEjeX
|
private float |
escalaEjeY
|
private boolean |
fueraDeRango
|
private int |
INCR_PIXEL
|
private java.awt.Panel |
lienzoTexto
|
private float |
nextX
|
private int |
nextXPixel
|
private float[] |
nextY
|
private int[] |
nextYpixel
|
private Parametro |
p
|
private boolean |
tablaSi
|
private float |
x
|
private int |
x0Pixel
|
private float |
xEnd
|
private int |
xOrigin
|
private int |
xPixel
|
private int |
xPixelEnd
|
private int |
xPixelStart
|
private int |
xPixelTipo
|
private float |
xStart
|
private float[] |
Y
|
private int |
y0Pixel
|
private float |
yEnd
|
private int |
yOrigin
|
private int[] |
Ypixel
|
private int |
yPixelEnd
|
private int |
yPixelStart
|
private float |
yStart
|
private float[] |
Ytipo
|
Fields inherited from class java.awt.Dialog |
base, keepBlocking, modal, nameCounter, resizable, serialVersionUID, title |
Fields inherited from class java.awt.Window |
active, dbg, focusMgr, inputContext, inputContextLock, OPENED, ownedWindowList, state, warningString, weakThis, windowListener, windowSerializedDataVersion |
Fields inherited from class java.awt.Container |
component, containerListener, containerSerializedDataVersion, 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, y |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
Detalles(java.lang.String titulo,
Parametro param)
Constructor. |
Method Summary | |
boolean |
action(java.awt.Event e,
java.lang.Object o)
Muestra los resultados de análisis detallado en forma gráfica o tabular. |
float[] |
calcEnerg(float param1)
Calcula los consumos de energía desglosados correspondientes al punto de trabajo. |
void |
draw(java.awt.Graphics g)
Dibuja las curvas de análisis detallado. |
void |
escalarDetalles(int divisor)
Escala las curvas de análisis detallado en función de sus valores extremos. |
void |
outRangeText()
Muestra un mensaje de aviso cuando el valor del parámetro está fuera del rango de simulación. |
void |
recalc()
Calcula y muestra los resultados de la simulación. |
private float |
redondeo_a_3(float valor)
Redondea un valor con una precisión de tres decimales. |
private float |
scaleX(int xPixel)
Calcula el valor de la abscisa correspondiente a un pixel dado. |
private int |
scaleXPunto(float xPunto)
Calcula el pixel correspondiente a la posición del punto de trabajo. |
private int |
scaleY(float y)
Calcula el pixel correspondiente a un valor de ordenada dado. |
void |
setDataText()
Prepara los resultados de la simulación que se muestran en formato tabular. |
Methods inherited from class java.awt.Dialog |
|
Methods inherited from class java.awt.Window |
addOwnedWindow, addWindowListener, adjustListeningChildren, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, eventEnabled, finalize, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postProcessKeyEvent, postWindowEvent, preProcessKeyEvent, processEvent, processWindowEvent, readObject, removeOwnedWindow, removeWindowListener, resetGC, setCursor, setFocusOwner, setWarningString, toBack, toFront, transferFocus, writeObject |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, numListening, paint, paintComponents, paintHeavyweightComponents, postsOldMouseEvents, preferredSize, print, printComponents, printHeavyweightComponents, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate, validateTree |
Methods inherited from class java.awt.Component |
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, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isRecursivelyVisible, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, 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, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
Field Detail |
public LienzoDetalle canvasDetalle
private Parametro p
private java.awt.TextArea dataText1
private java.awt.TextArea dataText2
private java.awt.TextArea dataText3
private java.awt.Panel lienzoTexto
private java.awt.Button boton
private boolean tablaSi
private boolean fueraDeRango
private final int xPixelStart
private final int xPixelEnd
private final int xOrigin
private final int yPixelStart
private final int yPixelEnd
private final int yOrigin
private float xStart
private float xEnd
private float yStart
private float yEnd
private float escalaEjeX
private float escalaEjeY
private final int INCR_PIXEL
private float[] Ytipo
private float[] Y
private float[] nextY
private int[] Ypixel
private int[] nextYpixel
private float x
private float nextX
private int xPixel
private int nextXPixel
private int xPixelTipo
private int x0Pixel
private int y0Pixel
private float abscisaPunto
Constructor Detail |
public Detalles(java.lang.String titulo, Parametro param)
titulo
- Título de la ventana de análisis detallado.param
- Parámetro que va a ser analizado en detalle.Method Detail |
public void escalarDetalles(int divisor)
public void recalc()
public float[] calcEnerg(float param1)
param1
- Valor del parámetro en el punto de trabajo.private float scaleX(int xPixel)
xPixel
- Posición del pixel sobre el eje X de la pantalla.private int scaleXPunto(float xPunto)
xPunto
- Valor de la abscisa en el punto de trabajo.private int scaleY(float y)
y
- Valor de la ordenada.public void outRangeText()
public void setDataText()
private float redondeo_a_3(float valor)
valor
- Valor original a redondear.public void draw(java.awt.Graphics g)
public boolean action(java.awt.Event e, java.lang.Object o)
action
in class java.awt.Component
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |