Class ClassifyWindow

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ClassifyWindow extends AuxWindow
Window for defining up a mutually exclusive group of subsets based on the values of a given table expression.
Since:
3 Feb 2015
Author:
Mark Taylor
See Also:
  • Constructor Details

    • ClassifyWindow

      public ClassifyWindow(TopcatModel tcModel, Component parent)
      Constructor.
      Parameters:
      tcModel - topcat model
      parent - parent component
  • Method Details

    • sanitiseText

      public static String sanitiseText(String txt, boolean isStart, int maxlen)
      Obtain a suitable string from a text for use as (part of) a short label, such as a subset name.
      Parameters:
      txt - basic text
      isStart - true iff this is the start of an identifier
      maxlen - maximum length of result
      Returns:
      innocuous label string