Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.merlotxml.merlot
Class DTDChooser  view DTDChooser download DTDChooser.java

java.lang.Object
  extended byorg.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.


Nested Class Summary
protected  class DTDChooser.DTDListModel
           
 
Field Summary
protected  org.merlotxml.util.xml.DTDCache _cache
           
protected  javax.swing.JPanel _chooserPanel
           
protected  javax.swing.JList _list
           
protected  DTDChooser.DTDListModel _listModel
           
 
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
 
Constructor Summary
DTDChooser(org.merlotxml.util.xml.DTDCache dtdcache)
           
 
Method Summary
 org.merlotxml.util.xml.DTDCacheEntry chooseDTD()
          Lets the user choose a dtd, and returns the cache entry for it
 org.merlotxml.util.xml.DTDCacheEntry chooseDTD(java.awt.Component msg)
          Gives the user a DTD Chooser dialog with the given message.
 org.merlotxml.util.xml.DTDCacheEntry chooseDTD(java.lang.String message)
          Bring up the dtd chooser dialog with the given message for the user
 java.lang.String requestPublicId()
           
protected  void setupChooserPanel()
           
protected  javax.swing.JList setupDTDList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_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
Constructor Detail

DTDChooser

public DTDChooser(org.merlotxml.util.xml.DTDCache dtdcache)
Method Detail

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()