com.alee.examples.groups.desktoppane.tetris
Class Block
java.lang.Object
com.alee.examples.groups.desktoppane.tetris.Block
public class Block
- extends java.lang.Object
User: mgarin Date: 02.06.11 Time: 17:09
Constructor Summary |
Block()
|
Block(javax.swing.ImageIcon icon)
|
Block(java.lang.String text)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blockFont
public static java.awt.Font blockFont
Block
public Block()
Block
public Block(java.lang.String text)
Block
public Block(javax.swing.ImageIcon icon)
getRotation
public int getRotation()
setRotation
public void setRotation(int rotation)
getBlockPoint
public java.awt.Point getBlockPoint()
setBlockPoint
public void setBlockPoint(java.awt.Point blockPoint)
paintBlock
public void paintBlock(java.awt.Graphics2D g2d,
java.awt.Rectangle rect,
int rotation)