public class GuiTools extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GuiTools.LocaleNumericTextField |
Constructor and Description |
---|
GuiTools() |
Modifier and Type | Method and Description |
---|---|
static void |
applyRenderingHints(Graphics2D g2d)
For making a g2d that draws nicely.
|
static ParameterCombo |
createComboControl(String name,
SetValue action,
int initial) |
static ParameterControl |
createInputField(String name,
SetValue action,
double initial,
ReadyObserver observer) |
static void |
createTextOuputPane(String s) |
static String |
displayFormat(double value) |
static void |
errorMessage(String s) |
static JPanel |
getClosableTabComponent(String title,
ActionListener closeListener) |
static Image |
getIcon() |
static JButton |
getXButton() |
static Icon |
getXIcon(Color c) |
static void |
highQualityRenderingHints(Graphics2D g2d) |
static double |
parseDouble(String value) |
static ij.ImagePlus |
selectOpenImage(JFrame parent) |
static void |
selectOpenImage(Window parent,
SegmentationController segmentationController) |
static void |
showAboutWindow(JFrame owner) |
public static void createTextOuputPane(String s)
public static ParameterCombo createComboControl(String name, SetValue action, int initial)
public static ParameterControl createInputField(String name, SetValue action, double initial, ReadyObserver observer)
public static void errorMessage(String s)
public static void showAboutWindow(JFrame owner)
public static String displayFormat(double value)
public static double parseDouble(String value) throws ParseException
ParseException
public static JPanel getClosableTabComponent(String title, ActionListener closeListener)
public static JButton getXButton()
public static void highQualityRenderingHints(Graphics2D g2d)
public static void applyRenderingHints(Graphics2D g2d)
g2d
- public static ij.ImagePlus selectOpenImage(JFrame parent)
public static Image getIcon()
public static void selectOpenImage(Window parent, SegmentationController segmentationController)
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.