databionics.esom.tool.island
Class IslandRenderer
java.lang.Object
databionics.esom.renderer.foreground.ForegroundRenderer
databionics.esom.tool.island.IslandRenderer
public class IslandRenderer
- extends ForegroundRenderer
- Author:
- stammi
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
- interface to log4j system
overlapMode
protected boolean overlapMode
islandMatrix
protected cern.colt.matrix.DoubleMatrix2D islandMatrix
overlapMatrix
protected cern.colt.matrix.DoubleMatrix2D overlapMatrix
clrZeros
protected java.awt.Color clrZeros
clrTwice
protected java.awt.Color clrTwice
clrThreetimes
protected java.awt.Color clrThreetimes
clrFourtimes
protected java.awt.Color clrFourtimes
clrWater
protected java.awt.Color clrWater
IslandRenderer
public IslandRenderer()
render
public boolean render(int zoom,
int rows,
int columns,
java.awt.image.BufferedImage bgImage)
render2
public boolean render2(int zoom,
int rows,
int columns,
java.awt.image.BufferedImage bgImage)
- (non-Javadoc)
- See Also:
databionics.esom.tool.AbstractToolRenderer#render(int, int, int,
java.awt.image.BufferedImage)
render
public void render(Renderer renderer)
- Description copied from class:
ForegroundRenderer
- Add foreground to the Image taken from the given renderer.
- Specified by:
render
in class ForegroundRenderer
- Parameters:
renderer
- The invoking Renderer
getRndLayer
public int getRndLayer()
- Description copied from class:
ForegroundRenderer
- Determines which foreground is renderered first.
Low numbers will be renderered before high numbers.
- Specified by:
getRndLayer
in class ForegroundRenderer
- Returns:
- 15 as Island should be renderered last before Frame
- See Also:
ForegroundRenderer.getRndLayer()
getRndPosition
public int getRndPosition()
- Specified by:
getRndPosition
in class ForegroundRenderer
isOverlapMode
public boolean isOverlapMode()
- Returns:
- Returns the overlapMode.
setOverlapMode
public void setOverlapMode(boolean overlapMode)
- Parameters:
overlapMode
- The overlapMode to set.
getClrFourtimes
public java.awt.Color getClrFourtimes()
- Returns:
- Returns the clrFourtimes.
setClrFourtimes
public void setClrFourtimes(java.awt.Color clrFourtimes)
- Parameters:
clrFourtimes
- The clrFourtimes to set.
getClrThreetimes
public java.awt.Color getClrThreetimes()
- Returns:
- Returns the clrThreetimes.
setClrThreetimes
public void setClrThreetimes(java.awt.Color clrThreetimes)
- Parameters:
clrThreetimes
- The clrThreetimes to set.
getClrTwice
public java.awt.Color getClrTwice()
- Returns:
- Returns the clrTwice.
setClrTwice
public void setClrTwice(java.awt.Color clrTwice)
- Parameters:
clrTwice
- The clrTwice to set.
getClrWater
public java.awt.Color getClrWater()
- Returns:
- Returns the clrWater.
getWaterColor
public java.awt.Color getWaterColor(int x,
int y)
setClrWater
public void setClrWater(java.awt.Color clrWater)
- Parameters:
clrWater
- The clrWater to set.
getClrZeros
public java.awt.Color getClrZeros()
- Returns:
- Returns the clrZeros.
setClrZeros
public void setClrZeros(java.awt.Color clrZeros)
- Parameters:
clrZeros
- The clrZeros to set.
getIslandMatrix
public cern.colt.matrix.DoubleMatrix2D getIslandMatrix()
- Returns:
- Returns the islandMatrix.
setIslandMatrix
public void setIslandMatrix(cern.colt.matrix.DoubleMatrix2D islandMatrix)
- Parameters:
islandMatrix
- The islandMatrix to set.
getOverlapMatrix
public cern.colt.matrix.DoubleMatrix2D getOverlapMatrix()
- Returns:
- Returns the overlapMatrix.
setOverlapMatrix
public void setOverlapMatrix(cern.colt.matrix.DoubleMatrix2D overlapMatrix)
- Parameters:
overlapMatrix
- The overlapMatrix to set.
setTransparency
public void setTransparency(boolean b)
- Parameters:
b
-
Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.