Package com.amirhn.GUI.Components
Class PieceImageIcon
java.lang.Object
javax.swing.ImageIcon
com.amirhn.GUI.Components.PieceImageIcon
- All Implemented Interfaces:
Serializable
,Accessible
,Icon
The type Piece image icon.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.ImageIcon
ImageIcon.AccessibleImageIcon
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPieceImageIcon
(String color, char typeLetter) Instantiates a new Piece image icon. -
Method Summary
Methods inherited from class javax.swing.ImageIcon
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, loadImage, paintIcon, setDescription, setImage, setImageObserver, toString
-
Constructor Details
-
PieceImageIcon
Instantiates a new Piece image icon.- Parameters:
color
- the colortypeLetter
- the type letter
-