Package org.apache.uima.tools.cpm
Class CloseTabIcon
java.lang.Object
org.apache.uima.tools.cpm.CloseTabIcon
- All Implemented Interfaces:
Icon
The class which generates the 'X' icon for the tabs. The constructor accepts an icon which is
extra to the 'X' icon, so you can have tabs like in JBuilder. This value is null if no extra icon
is required.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoid
-
Field Details
-
x_pos
private int x_pos -
y_pos
private int y_pos -
width
private int width -
height
private int height -
fileIcon
-
-
Constructor Details
-
CloseTabIcon
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
getBounds
-