|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgui.parts.Part
gui.parts.CharInfo
gui.parts.SFCharInfo
public class SFCharInfo
Informace o znaku v Shannon-Fanove kodovani
Field Summary | |
---|---|
static int |
BOX_HEIGHT
vyska obdelnika |
static int |
BOX_WIDTH
sirka obdelnika |
static int |
X_OFFSET
odsazeni zleva |
static int |
Y_OFFSET
odsazeni shora |
static int |
Y_SPACING
vyska obdelnika |
Fields inherited from class gui.parts.Part |
---|
x, y |
Constructor Summary | |
---|---|
SFCharInfo(java.lang.String s)
vytvori informaci o znaku v Shannon-Fanove kodovani |
Method Summary | |
---|---|
void |
addBit(java.lang.String bit)
|
java.awt.Rectangle |
getBounds()
Minimalni opisujici obdelnik. |
int |
getPosition()
Zjisteni pozice. |
void |
paintPart(java.awt.Graphics g1)
Vykresleni objektu. |
void |
resetLastBitColor()
|
void |
setPosition(int position)
|
Methods inherited from class gui.parts.CharInfo |
---|
equals, getCode, getCount, getCharacter, incrementCounter, setCode, setCount, setCharacter, toString |
Methods inherited from class gui.parts.Part |
---|
addSizeChangeEventListener, drawConnectingCurve, fireSizeChangeEvent, getX, getY, move, moveTo, removeSizeChangeEventListener |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int BOX_WIDTH
public static final int BOX_HEIGHT
public static final int Y_SPACING
public static final int X_OFFSET
public static final int Y_OFFSET
Constructor Detail |
---|
public SFCharInfo(java.lang.String s)
s
- znakMethod Detail |
---|
public void setPosition(int position)
public void addBit(java.lang.String bit)
public void resetLastBitColor()
public java.awt.Rectangle getBounds()
getBounds
in class Part
public void paintPart(java.awt.Graphics g1)
paintPart
in class Part
g1
- objekt, na ktery se kreslipublic int getPosition()
CharInfo
getPosition
in class CharInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |