Package javax.help

Examples of javax.help.Map$ID


     * returns an empty String if no content exists.
     */
    private String getMapID(SearchTOCItem item) {
  URL url = item.getURL();
  HelpSet hs = hb.getHelpSet();
  Map map = hs.getCombinedMap();
  ID id = map.getIDFromURL(url);
  if (id == null) {
      return "";
  }
  return id.id;
    }
View Full Code Here


    private String getIconURL(NavigatorView view) {
  URL url = null;
  ID id = view.getImageID();
  if (id != null) {
      HelpSet hs = id.hs;
      Map map = hs.getLocalMap();
      try {
    url = map.getURLFromID(id);
      } catch (MalformedURLException e) {
    // just ignore
      }
  }
  if (url == null) {
View Full Code Here

    private String getContentURL(TOCItem item) {
  URL url = null;
  ID id = item.getID();
  if (id != null) {
      HelpSet hs = id.hs;
      Map map = hs.getLocalMap();
      try {
    url = map.getURLFromID(id);
      } catch (MalformedURLException e) {
    // just ignore
      }
  }
  if (url == null) {
View Full Code Here

    }
      }
  }
  if (id != null) {
      HelpSet hs = id.hs;
      Map map = hs.getLocalMap();
      try {
    url = map.getURLFromID(id);
      } catch (MalformedURLException e) {
    // just ignore
      }
  }
  if (url == null) {
View Full Code Here

    private String getContentURL(IndexItem item) {
  URL url = null;
  ID id = item.getID();
  if (id != null) {
      HelpSet hs = id.hs;
      Map map = hs.getLocalMap();
      try {
    url = map.getURLFromID(id);
      } catch (MalformedURLException e) {
    // just ignore
      }
  }
  if (url == null) {
View Full Code Here

TOP

Related Classes of javax.help.Map$ID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.