|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.ui.Card
A Card represents a Control that has been added to a Control that implements MultiPanel - a CardPanel, for example.
| Field Summary | |
IImage |
closedImage
If this is not null then it will be displayed when the card is not selected. |
static int |
DISABLED
A flag. |
int |
flags
|
static int |
HIDDEN
A flag. |
IImage |
image
If this is not null then this will be displayed instead of the tab text. |
Control |
item
This is the item that was added to the MultiPanel. |
String |
longName
This is the longName given to the item when it was added to the MultiPanel. |
CellPanel |
panel
This is the CellPanel which contains the item which was added to the MultiPanel. |
String |
tabName
This is the short (tab) name given to the item when it was added to the MultiPanel. |
Object |
tip
If this is not null then this will be the tool tip for the tab. |
| Constructor Summary | |
Card()
|
|
| Method Summary | |
Card |
iconize(IImage icon)
Call this after you have specified the tab name. |
Card |
iconize(IImage icon,
boolean iconOnlyWhenClosed)
Call this after you have specified the tab name. |
Card |
iconize(String imageName)
This iconizes the tab with the icon of the specified name and, tells the Card to display an icon only when it is deslected ONLY if it is running on a PDA sized screen. |
Card |
iconize(String imageName,
Object maskOrColor)
This iconizes the tab with the icon of the specified name and, tells the Card to display an icon only when it is deslected ONLY if it is running on a PDA sized screen. |
Card |
iconize(String imageName,
Object maskOrColor,
boolean iconOnlyWhenClosed)
Call this after you have specified the tab name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, toString |
| Field Detail |
public String longName
public String tabName
public CellPanel panel
public Control item
public IImage image
public IImage closedImage
public Object tip
public int flags
public static final int DISABLED
public static final int HIDDEN
| Constructor Detail |
public Card()
| Method Detail |
public Card iconize(IImage icon)
icon - The icon to use with this tab.
public Card iconize(IImage icon,
boolean iconOnlyWhenClosed)
icon - The icon to use with this tab.iconOnlyWhenClosed - Indicates that only the icon should be displayed when the tab
is not selected.
public Card iconize(String imageName,
Object maskOrColor,
boolean iconOnlyWhenClosed)
imageName - The name of the icon.maskOrColor - A mask image or color value.iconOnlyWhenClosed - Indicates that only the icon should be displayed when the tab
is not selected.
public Card iconize(String imageName,
Object maskOrColor)
imageName - The name of the icon.maskOrColor - A mask image or color value.
public Card iconize(String imageName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||