public interface SwingExecutionDisplay extends ExecutionDisplay
Modifier and Type | Field and Description |
---|---|
static String |
EMPTY_CARD_ID
ID of the empty card.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final String EMPTY_CARD_ID
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.Copyright © 2013. All Rights Reserved.