org.jmol.popup
Class PopupResource

java.lang.Object
  extended by org.jmol.popup.PopupResource
Direct Known Subclasses:
MainPopupResourceBundle, ModelKitPopupResourceBundle

public abstract class PopupResource
extends Object


Field Summary
protected  Properties structure
           
protected  Properties words
           
 
Constructor Summary
protected PopupResource(String menuStructure, Properties menuText)
           
 
Method Summary
protected  void addItems(String[][] itemPairs)
           
protected abstract  void buildStructure(String menuStructure)
           
 String getMenu(String title)
           
(package private)  String getStructure(String key)
           
(package private)  String getWord(String key)
           
protected abstract  String[] getWordContents()
           
private  void localize(boolean haveUserMenu, Properties menuText)
           
 void setStructure(String slist)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

structure

protected Properties structure

words

protected Properties words
Constructor Detail

PopupResource

protected PopupResource(String menuStructure,
                        Properties menuText)
Method Detail

getMenu

public String getMenu(String title)

getWordContents

protected abstract String[] getWordContents()

buildStructure

protected abstract void buildStructure(String menuStructure)

getStructure

String getStructure(String key)

getWord

String getWord(String key)

setStructure

public void setStructure(String slist)

addItems

protected void addItems(String[][] itemPairs)

localize

private void localize(boolean haveUserMenu,
                      Properties menuText)