Class HtmlUtil

java.lang.Object
ucar.unidata.util.HtmlUtil

public class HtmlUtil extends Object
Version:
$Id: StringUtil.java,v 1.53 2007/06/01 17:02:44 jeffmc Exp $
  • Field Details

  • Constructor Details

    • HtmlUtil

      public HtmlUtil()
  • Method Details

    • open

      public static String open(String comp)
      _more_
      Parameters:
      comp - _more_
      Returns:
      _more_
    • comma

      public static String comma(String s1, String s2)
      _more_
      Parameters:
      s1 - _more_
      s2 - _more_
      Returns:
      _more_
    • comma

      public static String comma(String s1, String s2, String s3)
      _more_
      Parameters:
      s1 - _more_
      s2 - _more_
      s3 - _more_
      Returns:
      _more_
    • comma

      public static String comma(String s1, String s2, String s3, String s4)
      _more_
      Parameters:
      s1 - _more_
      s2 - _more_
      s3 - _more_
      s4 - _more_
      Returns:
      _more_
    • comma

      public static String comma(String s1, String s2, String s3, String s4, String s5)
      _more_
      Parameters:
      s1 - _more_
      s2 - _more_
      s3 - _more_
      s4 - _more_
      s5 - _more_
      Returns:
      _more_
    • comma

      public static String comma(String[] s)
      _more_
      Parameters:
      s - _more_
      Returns:
      _more_
    • open

      public static String open(String comp, String attrs)
      _more_
      Parameters:
      comp - _more_
      attrs - _more_
      Returns:
      _more_
    • close

      public static String close(String comp)
      _more_
      Parameters:
      comp - _more_
      Returns:
      _more_
    • tag

      public static String tag(String comp)
      _more_
      Parameters:
      comp - _more_
      Returns:
      _more_
    • tag

      public static String tag(String comp, String attrs)
      _more_
      Parameters:
      comp - _more_
      attrs - _more_
      Returns:
      _more_
    • tag

      public static String tag(String tag, String attrs, String inner)
      _more_
      Parameters:
      tag - _more_
      attrs - _more_
      inner - _more_
      Returns:
      _more_
    • hidden

      public static String hidden(String name, Object value)
      _more_
      Parameters:
      name - _more_
      value - _more_
      Returns:
      _more_
    • hidden

      public static String hidden(String name, Object value, String extra)
      _more_
      Parameters:
      name - _more_
      value - _more_
      extra - _more_
      Returns:
      _more_
    • hbox

      public static String hbox(String s1, String s2)
      _more_
      Parameters:
      s1 - _more_
      s2 - _more_
      Returns:
      _more_
    • br

      public static String br()
      _more_
      Returns:
      _more_
    • br

      public static String br(String line)
      _more_
      Parameters:
      line - _more_
      Returns:
      _more_
    • hr

      public static String hr()
      _more_
      Returns:
      _more_
    • p

      public static String p()
      _more_
      Returns:
      _more_
    • nobr

      public static String nobr(String inner)
      _more_
      Parameters:
      inner - _more_
      Returns:
      _more_
    • b

      public static String b(String inner)
      _more_
      Parameters:
      inner - _more_
      Returns:
      _more_
    • italics

      public static String italics(String inner)
      _more_
      Parameters:
      inner - _more_
      Returns:
      _more_
    • li

      public static String li(String inner, String extra)
      _more_
      Parameters:
      inner - _more_
      extra - _more_
      Returns:
      _more_
    • center

      public static String center(String inner)
      _more_
      Parameters:
      inner - _more_
      Returns:
      _more_
    • pad

      public static String pad(String s)
      _more_
      Parameters:
      s - _more_
      Returns:
      _more_
    • padLeft

      public static String padLeft(String s)
      _more_
      Parameters:
      s - _more_
      Returns:
      _more_
    • padRight

      public static String padRight(String s)
      _more_
      Parameters:
      s - _more_
      Returns:
      _more_
    • space

      public static String space(int cnt)
      _more_
      Parameters:
      cnt - _more_
      Returns:
      _more_
    • quote

      public static String quote(String s)
      _more_
      Parameters:
      s - _more_
      Returns:
      _more_
    • squote

      public static String squote(String s)
      _more_
      Parameters:
      s - _more_
      Returns:
      _more_
    • img

      public static String img(String path)
      _more_
      Parameters:
      path - _more_
      Returns:
      _more_
    • img

      public static String img(String path, String title)
      _more_
      Parameters:
      path - _more_
      title - _more_
      Returns:
      _more_
    • img

      public static String img(String path, String title, String extra)
      _more_
      Parameters:
      path - _more_
      title - _more_
      extra - _more_
      Returns:
      _more_
    • cssClass

      public static String cssClass(String c)
      _more_
      Parameters:
      c - _more_
      Returns:
      _more_
    • title

      public static String title(String c)
      _more_
      Parameters:
      c - _more_
      Returns:
      _more_
    • id

      public static String id(String c)
      _more_
      Parameters:
      c - _more_
      Returns:
      _more_
    • style

      public static String style(String c)
      _more_
      Parameters:
      c - _more_
      Returns:
      _more_
    • bold

      public static String bold(String v1)
      _more_
      Parameters:
      v1 - _more_
      Returns:
      _more_
    • col

      public static String col(String v1)
      _more_
      Parameters:
      v1 - _more_
      Returns:
      _more_
    • col

      public static String col(String v1, String attr)
      _more_
      Parameters:
      v1 - _more_
      attr - _more_
      Returns:
      _more_
    • colRight

      public static String colRight(String v1)
      _more_
      Parameters:
      v1 - _more_
      Returns:
      _more_
    • span

      public static String span(String content, String extra)
      _more_
      Parameters:
      content - _more_
      extra - _more_
      Returns:
      _more_
    • div

      public static String div(String content, String extra)
      _more_
      Parameters:
      content - _more_
      extra - _more_
      Returns:
      _more_
    • h1

      public static String h1(String content)
      _more_
      Parameters:
      content - _more_
      Returns:
      _more_
    • h2

      public static String h2(String content)
      _more_
      Parameters:
      content - _more_
      Returns:
      _more_
    • h3

      public static String h3(String content)
      _more_
      Parameters:
      content - _more_
      Returns:
      _more_
    • ul

      public static String ul()
      _more_
      Returns:
      _more_
    • p

      public static String p(String content)
      _more_
      Parameters:
      content - _more_
      Returns:
      _more_
    • pre

      public static String pre(String content)
      _more_
      Parameters:
      content - _more_
      Returns:
      _more_
    • url

      public static String url(String path, String n1, Object v1)
      _more_
      Parameters:
      path - _more_
      n1 - _more_
      v1 - _more_
      Returns:
      _more_
    • url

      public static String url(String path, String n1, Object v1, String n2, Object v2)
      _more_
      Parameters:
      path - _more_
      n1 - _more_
      v1 - _more_
      n2 - _more_
      v2 - _more_
      Returns:
      _more_
    • url

      public static String url(String path, String n1, Object v1, String n2, Object v2, String n3, Object v3)
      _more_
      Parameters:
      path - _more_
      n1 - _more_
      v1 - _more_
      n2 - _more_
      v2 - _more_
      n3 - _more_
      v3 - _more_
      Returns:
      _more_
    • url

      public static String url(String path, String n1, Object v1, String n2, Object v2, String n3, Object v3, String n4, Object v4)
      _more_
      Parameters:
      path - _more_
      n1 - _more_
      v1 - _more_
      n2 - _more_
      v2 - _more_
      n3 - _more_
      v3 - _more_
      n4 - _more_
      v4 - _more_
      Returns:
      _more_
    • url

      public static String url(String path, List args)
      _more_
      Parameters:
      path - _more_
      args - _more_
      Returns:
      _more_
    • url

      public static String url(String path, String[] args)
      _more_
      Parameters:
      path - _more_
      args - _more_
      Returns:
      _more_
    • url

      public static String url(String path, String[] args, boolean encodeArgs)
      _more_
      Parameters:
      path - _more_
      args - _more_
      encodeArgs - _more_
      Returns:
      _more_
    • args

      public static String args(String[] args)
      _more_
      Parameters:
      args - _more_
      Returns:
      _more_
    • args

      public static String args(Hashtable args)
      Make the url argument string from the set of given args. If the value of a given arg is a list then add multiple key=value pairs
      Parameters:
      args - url arguments
      Returns:
      URL argument string
    • arg

      public static String arg(String name, String value)
      _more_
      Parameters:
      name - _more_
      value - _more_
      Returns:
      _more_
    • arg

      public static String arg(String name, String value, boolean encodeArg)
      _more_
      Parameters:
      name - _more_
      value - _more_
      encodeArg - _more_
      Returns:
      _more_
    • row

      public static String row(String row)
      _more_
      Parameters:
      row - _more_
      Returns:
      _more_
    • row

      public static String row(String row, String extra)
      _more_
      Parameters:
      row - _more_
      extra - _more_
      Returns:
      _more_
    • rowTop

      public static String rowTop(String row)
      _more_
      Parameters:
      row - _more_
      Returns:
      _more_
    • rowBottom

      public static String rowBottom(String row)
      _more_
      Parameters:
      row - _more_
      Returns:
      _more_
    • cols

      public static String cols(String s1)
      _more_
      Parameters:
      s1 - _more_
      Returns:
      _more_
    • cols

      public static String cols(String s1, String s2)
      _more_
      Parameters:
      s1 - _more_
      s2 - _more_
      Returns:
      _more_
    • cols

      public static String cols(String s1, String s2, String s3)
      _more_
      Parameters:
      s1 - _more_
      s2 - _more_
      s3 - _more_
      Returns:
      _more_
    • cols

      public static String cols(String s1, String s2, String s3, String s4)
      _more_
      Parameters:
      s1 - _more_
      s2 - _more_
      s3 - _more_
      s4 - _more_
      Returns:
      _more_
    • cols

      public static String cols(String s1, String s2, String s3, String s4, String s5)
      _more_
      Parameters:
      s1 - _more_
      s2 - _more_
      s3 - _more_
      s4 - _more_
      s5 - _more_
      Returns:
      _more_
    • cols

      public static String cols(String s1, String s2, String s3, String s4, String s5, String s6)
      _more_
      Parameters:
      s1 - _more_
      s2 - _more_
      s3 - _more_
      s4 - _more_
      s5 - _more_
      s6 - _more_
      Returns:
      _more_
    • headerCols

      public static String headerCols(Object[] columns)
      _more_
      Parameters:
      columns - _more_
      Returns:
      _more_
    • cols

      public static String cols(Object[] columns)
      _more_
      Parameters:
      columns - _more_
      Returns:
      _more_
    • makeLatLonInput

      public static String makeLatLonInput(String arg, String value)
      _more_
      Parameters:
      arg - _more_
      value - _more_
      Returns:
      _more_
    • makeLatLonInput

      public static String makeLatLonInput(String arg, String value, String tip)
      _more_
      Parameters:
      arg - _more_
      value - _more_
      tip - _more_
      Returns:
      _more_
    • makeLatLonBox

      public static String makeLatLonBox(String baseName, String southValue, String northValue, String eastValue, String westValue)
      _more_
      Parameters:
      baseName - _more_
      southValue - _more_
      northValue - _more_
      eastValue - _more_
      westValue - _more_
      Returns:
      _more_
    • makeLatLonBox

      public static String makeLatLonBox(String southArg, String northArg, String eastArg, String westArg, String southValue, String northValue, String eastValue, String westValue)
      _more_
      Parameters:
      southArg - _more_
      northArg - _more_
      eastArg - _more_
      westArg - _more_
      southValue - _more_
      northValue - _more_
      eastValue - _more_
      westValue - _more_
      Returns:
      _more_
    • makeLatLonBox

      public static String makeLatLonBox(String baseName, double south, double north, double east, double west)
      _more_
      Parameters:
      baseName - _more_
      south - _more_
      north - _more_
      east - _more_
      west - _more_
      Returns:
      _more_
    • makeAreaLabel

      public static String makeAreaLabel(double south, double north, double east, double west)
      _more_
      Parameters:
      south - _more_
      north - _more_
      east - _more_
      west - _more_
      Returns:
      _more_
    • checkbox

      public static String checkbox(String name)
      _more_
      Parameters:
      name - _more_
      Returns:
      _more_
    • checkbox

      public static String checkbox(String name, String value)
      _more_
      Parameters:
      name - _more_
      value - _more_
      Returns:
      _more_
    • radio

      public static String radio(String name, String value, boolean checked)
      _more_
      Parameters:
      name - _more_
      value - _more_
      checked - _more_
      Returns:
      _more_
    • checkbox

      public static String checkbox(String name, String value, boolean checked)
      _more_
      Parameters:
      name - _more_
      value - _more_
      checked - _more_
      Returns:
      _more_
    • checkbox

      public static String checkbox(String name, String value, boolean checked, String extra)
      _more_
      Parameters:
      name - _more_
      value - _more_
      checked - _more_
      extra - _more_
      Returns:
      _more_
    • form

      public static String form(String url)
      _more_
      Parameters:
      url - _more_
      Returns:
      _more_
    • form

      public static String form(String url, String extra)
      _more_
      Parameters:
      url - _more_
      extra - _more_
      Returns:
      _more_
    • formPost

      public static String formPost(String url)
      _more_
      Parameters:
      url - _more_
      Returns:
      _more_
    • formPost

      public static String formPost(String url, String extra)
      _more_
      Parameters:
      url - _more_
      extra - _more_
      Returns:
      _more_
    • uploadForm

      public static String uploadForm(String url, String extra)
      _more_
      Parameters:
      url - _more_
      extra - _more_
      Returns:
      _more_
    • href

      public static String href(String url, String label)
      _more_
      Parameters:
      url - _more_
      label - _more_
      Returns:
      _more_
    • href

      public static String href(String url, String label, String extra)
      _more_
      Parameters:
      url - _more_
      label - _more_
      extra - _more_
      Returns:
      _more_
    • submitImage

      public static String submitImage(String img, String name)
      _more_
      Parameters:
      img - _more_
      name - _more_
      Returns:
      _more_
    • submitImage

      public static String submitImage(String img, String name, String alt)
      _more_
      Parameters:
      img - _more_
      name - _more_
      alt - _more_
      Returns:
      _more_
    • submit

      public static String submit(String label, String name)
      _more_
      Parameters:
      label - _more_
      name - _more_
      Returns:
      _more_
    • submit

      public static String submit(String label)
      _more_
      Parameters:
      label - _more_
      Returns:
      _more_
    • textArea

      public static String textArea(String name, String value, int rows, int columns)
      _more_
      Parameters:
      name - _more_
      value - _more_
      rows - _more_
      columns - _more_
      Returns:
      _more_
    • textArea

      public static String textArea(String name, String value, int rows, int columns, String extra)
      _more_
      Parameters:
      name - _more_
      value - _more_
      rows - _more_
      columns - _more_
      extra - _more_
      Returns:
      _more_
    • password

      public static String password(String name)
      _more_
      Parameters:
      name - _more_
      Returns:
      _more_
    • password

      public static String password(String name, String value, String extra)
      _more_
      Parameters:
      name - _more_
      value - _more_
      extra - _more_
      Returns:
      _more_
    • input

      public static String input(String name)
      _more_
      Parameters:
      name - _more_
      Returns:
      _more_
    • input

      public static String input(String name, Object value)
      _more_
      Parameters:
      name - _more_
      value - _more_
      Returns:
      _more_
    • input

      public static String input(String name, Object value, int size)
      _more_
      Parameters:
      name - _more_
      value - _more_
      size - _more_
      Returns:
      _more_
    • input

      public static String input(String name, Object value, String extra)
      _more_
      Parameters:
      name - _more_
      value - _more_
      extra - _more_
      Returns:
      _more_
    • disabledInput

      public static String disabledInput(String name, Object value, String extra)
      _more_
      Parameters:
      name - _more_
      value - _more_
      extra - _more_
      Returns:
      _more_
    • fileInput

      public static String fileInput(String name, String extra)
      _more_
      Parameters:
      name - _more_
      extra - _more_
      Returns:
      _more_
    • select

      public static String select(String name, List values)
      _more_
      Parameters:
      name - _more_
      values - _more_
      Returns:
      _more_
    • select

      public static String select(String name, List values, String selected)
      _more_
      Parameters:
      name - _more_
      values - _more_
      selected - _more_
      Returns:
      _more_
    • select

      public static String select(String name, List values, String selected, String extra)
      _more_
      Parameters:
      name - _more_
      values - _more_
      selected - _more_
      extra - _more_
      Returns:
      _more_
    • select

      public static String select(String name, List values, List<String> selected, String extra)
      _more_
      Parameters:
      name - _more_
      values - _more_
      selected - _more_
      extra - _more_
      Returns:
      _more_
    • select

      public static String select(String name, Object[] values, String selected, int maxLength)
      _more_
      Parameters:
      name - _more_
      values - _more_
      selected - _more_ , * @param maxLength _more_
      Returns:
      _more_
    • select

      public static String select(String name, List values, String selected, int maxLength)
      _more_
      Parameters:
      name - _more_
      values - _more_
      selected - _more_
      maxLength - _more_
      Returns:
      _more_
    • select

      public static String select(String name, List values, String selected, String extra, int maxLength)
      _more_
      Parameters:
      name - _more_
      values - _more_
      selected - _more_
      extra - _more_
      maxLength - _more_
      Returns:
      _more_
    • select

      public static String select(String name, List values, List selected, String extra, int maxLength)
      _more_
      Parameters:
      name - _more_
      values - _more_
      selected - _more_
      extra - _more_
      maxLength - _more_
      Returns:
      _more_
    • colorSelect

      public static String colorSelect(String name, String selected)
      _more_
      Parameters:
      name - _more_
      selected - _more_
      Returns:
      _more_
    • inset

      public static String inset(String html, int top, int left, int bottom, int right)
      _more_
      Parameters:
      html - _more_
      top - _more_
      left - _more_
      bottom - _more_
      right - _more_
      Returns:
      _more_
    • insetDiv

      public static String insetDiv(String html, int top, int left, int bottom, int right)
      _more_
      Parameters:
      html - _more_
      top - _more_
      left - _more_
      bottom - _more_
      right - _more_
      Returns:
      _more_
    • inset

      public static String inset(String html, int space)
      _more_
      Parameters:
      html - _more_
      space - _more_
      Returns:
      _more_
    • insetLeft

      public static String insetLeft(String html, int space)
      _more_
      Parameters:
      html - _more_
      space - _more_
      Returns:
      _more_
    • colspan

      public static String colspan(String s, int cols)
      _more_
      Parameters:
      s - _more_
      cols - _more_
      Returns:
      _more_
    • formTableTop

      public static String formTableTop(String[] cols)
      _more_
      Parameters:
      cols - _more_
      Returns:
      _more_
    • formTable

      public static String formTable(String[] cols)
      _more_
      Parameters:
      cols - _more_
      Returns:
      _more_
    • formEntryTop

      public static String formEntryTop(String[] cols)
      _more_
      Parameters:
      cols - _more_
      Returns:
      _more_
    • leftRight

      public static String leftRight(String left, String right)
      _more_
      Parameters:
      left - _more_
      right - _more_
      Returns:
      _more_
    • leftRight

      public static String leftRight(String left, String right, String attrs)
      _more_
      Parameters:
      left - _more_
      right - _more_
      attrs - _more_
      Returns:
      _more_
    • table

      public static String table(String contents)
      _more_
      Parameters:
      contents - _more_
      Returns:
      _more_
    • table

      public static String table(String contents, String attrs)
      _more_
      Parameters:
      contents - _more_
      attrs - _more_
      Returns:
      _more_
    • table

      public static String table(Object[] columns)
      _more_
      Parameters:
      columns - _more_
      Returns:
      _more_
    • table

      public static String table(Object[] columns, int spacing)
      _more_
      Parameters:
      columns - _more_
      spacing - _more_
      Returns:
      _more_
    • table

      public static StringBuffer table(List columns, int numCols, String attributes)
      _more_
      Parameters:
      columns - _more_
      numCols - _more_
      attributes - _more_
      Returns:
      _more_
    • formTable

      public static String formTable()
      _more_
      Returns:
      _more_
    • formTable

      public static String formTable(String extra)
      _more_
      Parameters:
      extra - _more_
      Returns:
      _more_
    • formTableClose

      public static String formTableClose()
      _more_
      Returns:
      _more_
    • formClose

      public static String formClose()
      _more_
      Returns:
      _more_
    • formEntry

      public static String formEntry(String left, String right)
      _more_
      Parameters:
      left - _more_
      right - _more_
      Returns:
      _more_
    • formEntryTop

      public static String formEntryTop(String left, String right)
      _more_
      Parameters:
      left - _more_
      right - _more_
      Returns:
      _more_
    • formEntryTop

      public static String formEntryTop(String left, String right, String trExtra, boolean dummy)
      _more_
      Parameters:
      left - _more_
      right - _more_
      trExtra - _more_
      dummy - _more_
      Returns:
      _more_
    • formEntryTop

      public static String formEntryTop(String col1, String left, String right)
      _more_
      Parameters:
      col1 - _more_
      left - _more_
      right - _more_
      Returns:
      _more_
    • attr

      public static String attr(String name, String value)
      _more_
      Parameters:
      name - _more_
      value - _more_
      Returns:
      _more_
    • attrs

      public static String attrs(String name, String value)
      _more_
      Parameters:
      name - _more_
      value - _more_
      Returns:
      _more_
    • attrs

      public static String attrs(String[] pairs)
      _more_
      Parameters:
      pairs - _more_
      Returns:
      _more_
    • attrs

      public static String attrs(String n1, String v1, String n2, String v2)
      Return a String with n1="v1invalid input: '&quot' n2="v2invalid input: '&quot'.
      Parameters:
      n1 - The first attribute name.
      v1 - The first attribute value.
      n2 - The second attribute name.
      v2 - The second attribute value.
      Returns:
      The attrbiute string.
    • attrs

      public static String attrs(String n1, String v1, String n2, String v2, String n3, String v3)
      Return a String with n1="v1invalid input: '&quot' n2="v2invalid input: '&quot'. n3="v3invalid input: '&quot'.
      Parameters:
      n1 - The first attribute name.
      v1 - The first attribute value.
      n2 - The second attribute name.
      v2 - The second attribute value.
      n3 - The third attribute name.
      v3 - The third attribute value.
      Returns:
      The attrbiute string.
    • attrs

      public static String attrs(String n1, String v1, String n2, String v2, String n3, String v3, String n4, String v4)
      Return a String with n1="v1invalid input: '&quot' n2="v2invalid input: '&quot'. n3="v3invalid input: '&quot'. n4="v4invalid input: '&quot'.
      Parameters:
      n1 - The first attribute name.
      v1 - The first attribute value.
      n2 - The second attribute name.
      v2 - The second attribute value.
      n3 - The third attribute name.
      v3 - The third attribute value.
      n4 - The fourth attribute name.
      v4 - The fourth attribute value.
      Returns:
      The attrbiute string.
    • onMouseOver

      public static String onMouseOver(String call)
      _more_
      Parameters:
      call - _more_
      Returns:
      _more_
    • onMouseMove

      public static String onMouseMove(String call)
      _more_
      Parameters:
      call - _more_
      Returns:
      _more_
    • onMouseOut

      public static String onMouseOut(String call)
      _more_
      Parameters:
      call - _more_
      Returns:
      _more_
    • onMouseUp

      public static String onMouseUp(String call)
      _more_
      Parameters:
      call - _more_
      Returns:
      _more_
    • onMouseDown

      public static String onMouseDown(String call)
      _more_
      Parameters:
      call - _more_
      Returns:
      _more_
    • onMouseClick

      public static String onMouseClick(String call)
      _more_
      Parameters:
      call - _more_
      Returns:
      _more_
    • mouseClickHref

      public static String mouseClickHref(String call, String label)
      _more_
      Parameters:
      call - _more_
      label - _more_
      Returns:
      _more_
    • mouseClickHref

      public static String mouseClickHref(String call, String label, String extra)
      _more_
      Parameters:
      call - _more_
      label - _more_
      extra - _more_
      Returns:
      _more_
    • jsLink

      public static String jsLink(String events, String content)
      _more_
      Parameters:
      events - _more_
      content - _more_
      Returns:
      _more_
    • jsLink

      public static String jsLink(String events, String content, String extra)
      _more_
      Parameters:
      events - _more_
      content - _more_
      extra - _more_
      Returns:
      _more_
    • script

      public static String script(String s)
      _more_
      Parameters:
      s - _more_
      Returns:
      _more_
    • call

      public static String call(String function, String args)
      _more_
      Parameters:
      function - _more_
      args - _more_
      Returns:
      _more_
    • callln

      public static String callln(String function, String args)
      _more_
      Parameters:
      function - _more_
      args - _more_
      Returns:
      _more_
    • importJS

      public static String importJS(String jsUrl)
      _more_
      Parameters:
      jsUrl - _more_
      Returns:
      _more_
    • cssLink

      public static String cssLink(String url)
      _more_
      Parameters:
      url - _more_
      Returns:
      _more_
    • makeTabs

      public static String makeTabs(List titles, List contents, boolean skipEmpty)
      _more_
      Parameters:
      titles - _more_
      contents - _more_
      skipEmpty - _more_
      Returns:
      _more_
    • makeTabs

      public static String makeTabs(List titles, List contents, boolean skipEmpty, String tabContentClass)
      _more_
      Parameters:
      titles - _more_
      contents - _more_
      skipEmpty - _more_
      tabContentClass - _more_
      Returns:
      _more_
    • makeTabs

      public static String makeTabs(List titles, List contents, boolean skipEmpty, String tabContentClass, String wrapperClass)
      _more_
      Parameters:
      titles - _more_
      contents - _more_
      skipEmpty - _more_
      tabContentClass - _more_
      wrapperClass - _more_
      Returns:
      _more_
    • setBlockHideShowImage

      public static void setBlockHideShowImage(String hideImg, String showImg)
      _more_
      Parameters:
      hideImg - _more_
      showImg - _more_
    • setInlineHideShowImage

      public static void setInlineHideShowImage(String hideImg, String showImg)
      _more_
      Parameters:
      hideImg - _more_
      showImg - _more_
    • makeShowHideBlock

      public static String makeShowHideBlock(String label, String content, boolean visible)
      _more_
      Parameters:
      label - _more_
      content - _more_
      visible - _more_
      Returns:
      _more_
    • makeShowHideBlock

      public static String makeShowHideBlock(String label, String content, boolean visible, String headerExtra)
      _more_
      Parameters:
      label - _more_
      content - _more_
      visible - _more_
      headerExtra - _more_
      Returns:
      _more_
    • makeShowHideBlock

      public static String makeShowHideBlock(String label, String content, boolean visible, String headerExtra, String blockExtra)
      _more_
      Parameters:
      label - _more_
      content - _more_
      visible - _more_
      headerExtra - _more_
      blockExtra - _more_
      Returns:
      _more_
    • makeShowHideBlock

      public static String makeShowHideBlock(String label, String content, boolean visible, String headerExtra, String blockExtra, String hideImg, String showImg)
      _more_
      Parameters:
      label - _more_
      content - _more_
      visible - _more_
      headerExtra - _more_
      blockExtra - _more_
      hideImg - _more_
      showImg - _more_
      Returns:
      _more_
    • getToggle

      public static String[] getToggle(String label, boolean visible)
      _more_
      Parameters:
      label - _more_
      visible - _more_
      Returns:
      _more_
    • getToggle

      public static String[] getToggle(String label, boolean visible, String hideImg, String showImg)
      _more_
      Parameters:
      label - _more_
      visible - _more_
      hideImg - _more_
      showImg - _more_
      Returns:
      _more_
    • makeToggleBlock

      public static String makeToggleBlock(String content, StringBuffer contentSB, boolean visible)
      _more_
      Parameters:
      content - _more_
      contentSB - _more_
      visible - _more_
      Returns:
      _more_
    • makeToggleInline

      public static String makeToggleInline(String label, String content, boolean visible)
      _more_
      Parameters:
      label - _more_
      content - _more_
      visible - _more_
      Returns:
      _more_
    • makeToggleTable

      public static String makeToggleTable(String label, String content, boolean visible)
      _more_
      Parameters:
      label - _more_
      content - _more_
      visible - _more_
      Returns:
      _more_
    • makeShowHideBlock

      public static String makeShowHideBlock(String clickHtml, String label, String content, boolean visible)
      _more_
      Parameters:
      clickHtml - _more_
      label - _more_
      content - _more_
      visible - _more_
      Returns:
      _more_
    • urlEncode

      public static String urlEncode(String s)
      _more_
      Parameters:
      s - _more_
      Returns:
      _more_
    • urlEncodeExceptSpace

      public static String urlEncodeExceptSpace(String s)
      _more_
      Parameters:
      s - _more_
      Returns:
      _more_
    • entityEncode

      public static String entityEncode(String input)
      _more_
      Parameters:
      input - _more_
      Returns:
      _more_
    • main

      public static void main(String[] args) throws Exception
      _more_
      Parameters:
      args - _more_
      Throws:
      Exception - _more_
    • sizeAttr

      public static final String sizeAttr(int size)
      _more_
      Parameters:
      size - _more_
      Returns:
      _more_