|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
com.monkeycoder.monkeyfractal.gui.RenderPanel
public abstract class RenderPanel
This is the parent class for all RenderPanels. Note that this class is
abstract and provides absolutely no rendering on it's own. To create a
child class, this class should be extended and the doRender() method
overridden.
Originally part of the MonkeyFractal project.
| Nested Class Summary |
|---|
| 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 | |
|---|---|
protected ParameterList |
params
Holds the configuration of this RenderPanel in the form of a ParameterList. |
| 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 | |
|---|---|
RenderPanel()
RenderPanel is abstract and cannot be directly constructed. |
|
| Method Summary | |
|---|---|
abstract java.awt.Image |
doRender(FractalBuffer inFb)
This is the core render function that converts data in a FractalBuffer into an Image for display. |
void |
enableForcedRender()
|
abstract java.lang.String |
getHelpAboutInfo()
This method returns a String containing Help About information about this plugin. |
ParameterList |
getParameterList()
This function returns the current ParameterList being used by this RenderPanel. |
java.awt.Image |
getRenderImage()
This function accepts the two corner points that represent rubberband box. |
void |
paint(java.awt.Graphics gfx)
This function controls the generalized rendering of FractalBuffer data. |
abstract void |
resetParameterList()
This function creates a default ParameterList for this RenderPanel. |
void |
setComplexRange(ComplexRange inCr)
This function sets the ComplexRange to be shown in the corner of the render. |
void |
setFractalBuffer(FractalBuffer inFb)
This function sets the FractalBuffer of data to be rendered. |
void |
setParameterList(ParameterList inParamList)
This function takes in a ParameterList that will replace the internal ParameterList being used by this RenderPanel. |
void |
setRubberBandBox(java.awt.Point inUpperLeft,
java.awt.Point inLowerRight)
This function accepts the two corner points that represent rubberband box. |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ParameterList params
| Constructor Detail |
|---|
public RenderPanel()
| Method Detail |
|---|
public ParameterList getParameterList()
resetParameterList()public void setParameterList(ParameterList inParamList)
inParamList - The new ParameterList to be used by this RenderPanel.getParameterList()public abstract void resetParameterList()
public void setFractalBuffer(FractalBuffer inFb)
inFb - The FractalBuffer to be rendered.public void setComplexRange(ComplexRange inCr)
inCr - The ComplexRange to be shown.public void paint(java.awt.Graphics gfx)
paint in class java.awt.Componentgfx - The Graphics object passed to this function.
public void setRubberBandBox(java.awt.Point inUpperLeft,
java.awt.Point inLowerRight)
inUpperLeft - The upper left point of the rubberband box.inLowerRight - The lower right point of the rubberband box.public java.awt.Image getRenderImage()
public void enableForcedRender()
public abstract java.awt.Image doRender(FractalBuffer inFb)
inFb - The FractalBuffer to render.
public abstract java.lang.String getHelpAboutInfo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||