com.partnersoft.v3x.gui
Interface Deck

All Known Implementing Classes:
TabbedDeck, TabbedEditor

public interface Deck

A visual component, such as a tab control, that keeps a set of components like cards in a deck.


Method Summary
 void addCard(java.awt.Component card, java.lang.Object index)
          Add a card.
 void addSpecificationListener(SpecificationListener nosey)
          Listens for specification of index objects.
 java.lang.Object getCurrentIndex()
           
 void removeSpecificationListener(SpecificationListener repentant)
           
 void setEnabled(java.lang.Object index, boolean enabled)
          Enable or disable card corresponding to index.
 void showCard(java.lang.Object index)
          Show card corresponding to index.
 

Method Detail

addCard

void addCard(java.awt.Component card,
             java.lang.Object index)
Add a card. It can be shown later using the provided index object.


showCard

void showCard(java.lang.Object index)
Show card corresponding to index.


setEnabled

void setEnabled(java.lang.Object index,
                boolean enabled)
Enable or disable card corresponding to index.


addSpecificationListener

void addSpecificationListener(SpecificationListener nosey)
Listens for specification of index objects.


removeSpecificationListener

void removeSpecificationListener(SpecificationListener repentant)

getCurrentIndex

java.lang.Object getCurrentIndex()