java.lang.Object
org.merlotxml.merlot.DTDChooser
- All Implemented Interfaces:
- MerlotConstants
- Direct Known Subclasses:
- GD_DTDChooser
- public class DTDChooser
- extends java.lang.Object
- implements MerlotConstants
This class provides a way to choose a DTD either from a plugin or
from the filesystem.
| Fields inherited from interface org.merlotxml.merlot.MerlotConstants |
ACTION_MENU_ACCELERATOR, ACTION_MENU_ICON, ACTION_NAME, ACTION_SHORT_DESCRIPTION, ACTION_SMALL_ICON, AFTER, BEFORE, ERR, INTO, UI, XML |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_cache
protected org.merlotxml.util.xml.DTDCache _cache
_chooserPanel
protected javax.swing.JPanel _chooserPanel
_listModel
protected DTDChooser.DTDListModel _listModel
_list
protected javax.swing.JList _list
DTDChooser
public DTDChooser(org.merlotxml.util.xml.DTDCache dtdcache)
chooseDTD
public org.merlotxml.util.xml.DTDCacheEntry chooseDTD()
- Lets the user choose a dtd, and returns the cache entry for it
chooseDTD
public org.merlotxml.util.xml.DTDCacheEntry chooseDTD(java.lang.String message)
- Bring up the dtd chooser dialog with the given message for the user
chooseDTD
public org.merlotxml.util.xml.DTDCacheEntry chooseDTD(java.awt.Component msg)
- Gives the user a DTD Chooser dialog with the given message.
requestPublicId
public java.lang.String requestPublicId()
setupChooserPanel
protected void setupChooserPanel()
setupDTDList
protected javax.swing.JList setupDTDList()