|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.MapBrowser.MapAppCardStd
public class MapAppCardStd
A standard implementation of MapAppCard.
| Field Summary | |
|---|---|
protected javax.swing.JPanel |
gui
|
protected java.lang.String |
name
|
protected boolean |
scrollbarReallyNecessary
Set this in your subclass' constructor. |
protected MapDataSource |
source
|
protected javax.swing.JPanel |
subGui
|
| Constructor Summary | |
|---|---|
MapAppCardStd()
|
|
MapAppCardStd(java.lang.String stretching,
java.lang.String anchor)
|
|
| Method Summary | |
|---|---|
void |
addComponentToSubsection(java.awt.Component component)
Adds a component to the current subsection. |
void |
addSubsection(java.lang.String name)
This method depends heavily on the order in which you call it and addComponentToSubsection(). |
void |
addSubsection(java.lang.String name,
java.lang.String stretch,
java.lang.String anchor)
This method depends heavily on the order in which you call it and addComponentToSubsection(). |
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 |
setVisible(boolean tizit)
Fired when card is hidden or viewed. |
java.util.Iterator |
sources()
Viewable data sources for this card. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.swing.JPanel gui
protected javax.swing.JPanel subGui
protected java.lang.String name
protected MapDataSource source
protected boolean scrollbarReallyNecessary
| Constructor Detail |
|---|
public MapAppCardStd()
public MapAppCardStd(java.lang.String stretching,
java.lang.String anchor)
| Method Detail |
|---|
public java.util.Iterator sources()
sources in interface MapAppCardpublic java.awt.Component getGUI()
getGUI in interface MapAppCardpublic java.lang.String getName()
getName in interface MapAppCardpublic void setVisible(boolean tizit)
setVisible in interface MapAppCardpublic void setMapApp(MapApp app)
setMapApp in interface MapAppCard
public void addSubsection(java.lang.String name,
java.lang.String stretch,
java.lang.String anchor)
public void addSubsection(java.lang.String name)
public void addComponentToSubsection(java.awt.Component component)
public boolean isAScrollbarReallyNecessary()
isAScrollbarReallyNecessary in interface MapAppCard
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||