/** * Dumps a text description of an image chain, useful to for headless debugging * or logging purposes * @param image * @return */ public static String dumpChain(RenderedImage image) { TextTreeBuilder builder = new TextTreeBuilder(); dumpChain(image, builder); return builder.toString(); }
/** * This method informs the maximum size of this component, which will be the same as the preferred size. */ @Override public Dimension getMaximumSize() { return getPreferredSize(); }
/** * The constructor for this class, which will set its fields' values and get some information * about the histogram. * @param histogram the histogram to be plotted. * @param title the title of the plot. */ public DisplayHistogram(Histogram histogram, String title) { this(title); setHistogram(histogram); }
/** * Constructs a <code>DisplayJAI</code> and sets its the layout to * <code>null</code>. */ public ZoomableImageDisplay() { setLayout(null); }
public void newChild() { indent++; newLine(); }
public DisplayHistogram(String title) { this.title = title; addMouseMotionListener(this); }
public void setTileGridVisible(boolean visible) { this.tileGridVisible = visible; repaint(); } }
public boolean isLeaf(Object node) { return getChildCount(node) == 0; }
/** * Dumps a text description of an image chain, useful to for headless debugging * or logging purposes * @param image * @return */ public static String dumpChain(RenderedImage image) { TextTreeBuilder builder = new TextTreeBuilder(); dumpChain(image, builder); return builder.toString(); }
/** * This method informs the maximum size of this component, which will be the same as the preferred size. */ @Override public Dimension getMaximumSize() { return getPreferredSize(); }
/** * The constructor for this class, which will set its fields' values and get some information * about the histogram. * @param histogram the histogram to be plotted. * @param title the title of the plot. */ public DisplayHistogram(Histogram histogram, String title) { this(title); setHistogram(histogram); }
/** * Constructs a <code>DisplayJAI</code> and sets its the layout to * <code>null</code>. */ public ZoomableImageDisplay() { setLayout(null); }
public void newChild() { indent++; newLine(); }
public DisplayHistogram(String title) { this.title = title; addMouseMotionListener(this); }
/** * This method informs the minimum size of this component, which will be the same as the preferred size. */ @Override public Dimension getMinimumSize() { return getPreferredSize(); }
/** * This method informs the minimum size of this component, which will be the same as the preferred size. */ @Override public Dimension getMinimumSize() { return getPreferredSize(); }