|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SwingExecutionDisplay
Swing container provided to elements to interact with the user Components can be added to the Display in a "Card style view" manner, where each component is displayed in full at once. In addition to the displayed card, an overlay can be added to the display, which will be displayed above the displayed card. Note: All methods in this interface need to be called from the AWT Event Dispatch thread only.
| Field Summary | |
|---|---|
static String |
EMPTY_CARD_ID
ID of the empty card. |
| Method Summary | |
|---|---|
void |
addCard(String cardId,
Component component)
Add a card to this display |
void |
displayEmptyCard()
Display an empty card. |
Color |
getBackgroundColor()
Get the background color of the display. |
String |
getDisplayedCardId()
Get the currently displayed card. |
void |
removeAllCards()
Remove all added cards. |
void |
removeCard(String cardId)
Removes a card from the display. |
void |
setBackgroundColor(Color color)
Set the background color of the display. |
void |
setOverlay(Component component)
Set the overlay component to be displayed. |
void |
showCard(String cardId)
Display a previously added card. |
| Field Detail |
|---|
static final String EMPTY_CARD_ID
| Method Detail |
|---|
void addCard(String cardId,
Component component)
void showCard(String cardId)
void removeCard(String cardId)
void removeAllCards()
void displayEmptyCard()
String getDisplayedCardId()
void setOverlay(Component component)
component - the overlay component to display, null to remove any displayed componentColor getBackgroundColor()
void setBackgroundColor(Color color)
color - the background color to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||