Class tred.HashStreamItem
All Packages Class Hierarchy This Package Previous Next Index
Class tred.HashStreamItem
java.lang.Object
|
+----tred.EditorObject
|
+----tred.Item
|
+----tred.StreamItem
|
+----tred.HashStreamItem
- public class HashStreamItem
- extends StreamItem
Implementation to Items of HashStream. HashStreamItems are similar to
the StreamItems but the hashvalue of the label is displayed just below
the rounding box of the item.
-
HashStreamItem(String)
-
This is the constructor for HashStreamItem.
-
getBounds()
-
-
paint(Graphics)
-
This method is invoked when this item is draw into the screen.
HashStreamItem
public HashStreamItem(String label)
- This is the constructor for HashStreamItem. It simply does nothing
but invokes the super constructor.
- See Also:
- StreamItem
getBounds
public Rectangle getBounds()
- Overrides:
- getBounds in class EditorObject
paint
public boolean paint(Graphics g)
- This method is invoked when this item is draw into the screen.
The behaviour is same as in the StreamItem:paint() method except that
the hashItem also has a hashvalue displayed just below the bounding box.
- Returns:
- value of super.paint().
- Overrides:
- paint in class StreamItem
All Packages Class Hierarchy This Package Previous Next Index