com.partnersoft.v3x.apps.MapBrowser
Class MapAppDeck

java.lang.Object
  extended by com.partnersoft.v3x.apps.MapBrowser.MapAppDeck
All Implemented Interfaces:
MapAppCard
Direct Known Subclasses:
ControlPanel

public class MapAppDeck
extends java.lang.Object
implements MapAppCard

A MapAppCard that has subcards. Don't abuse this too much.


Constructor Summary
MapAppDeck()
           
MapAppDeck(MapAppCard aCard, MapAppCard bCard)
           
 
Method Summary
 void addCard(MapAppCard card)
           
 void disable(MapAppCard card)
           
 void enable(MapAppCard card)
           
 MapAppCard getCard(java.lang.String name)
           
 java.awt.Component getGUI()
          GUI panel for the card.
 java.lang.String getName()
          Name for the card (used as label and key).
 boolean isAScrollbarReallyNecessary()
           
 void setMapApp(MapApp app)
          Called to hook up any listeners etc.
 void setName(java.lang.String newName)
          Set name for card.
 void setVisible(boolean tizit)
          Fired when card is hidden or viewed.
 void showCard(MapAppCard card)
           
 void showCard(java.lang.String cardName)
           
 java.util.Iterator sources()
          Viewable data source for this card.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapAppDeck

public MapAppDeck()

MapAppDeck

public MapAppDeck(MapAppCard aCard,
                  MapAppCard bCard)
Method Detail

sources

public java.util.Iterator sources()
Viewable data source for this card.

Specified by:
sources in interface MapAppCard

getGUI

public java.awt.Component getGUI()
GUI panel for the card.

Specified by:
getGUI in interface MapAppCard

getName

public java.lang.String getName()
Name for the card (used as label and key).

Specified by:
getName in interface MapAppCard

setName

public void setName(java.lang.String newName)
Set name for card.


enable

public void enable(MapAppCard card)

disable

public void disable(MapAppCard card)

addCard

public void addCard(MapAppCard card)

showCard

public void showCard(MapAppCard card)

showCard

public void showCard(java.lang.String cardName)

getCard

public MapAppCard getCard(java.lang.String name)

setVisible

public void setVisible(boolean tizit)
Fired when card is hidden or viewed.

Specified by:
setVisible in interface MapAppCard

setMapApp

public void setMapApp(MapApp app)
Called to hook up any listeners etc. to the MapViewPanel. Does not need to add the data source.

Specified by:
setMapApp in interface MapAppCard

isAScrollbarReallyNecessary

public boolean isAScrollbarReallyNecessary()
Specified by:
isAScrollbarReallyNecessary in interface MapAppCard