Package com.explodingpixels.macwidgets
Class HudWidgetFactory
- java.lang.Object
-
- com.explodingpixels.macwidgets.HudWidgetFactory
-
public class HudWidgetFactory extends java.lang.Object
A factory for creating HUD style widgets. These widgets should be added to aHudWindow
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.swing.JButton
createHudButton(java.lang.String buttonText)
Creates a Heads Up Display (HUD) style button, similar to that seen in various iApps (e.g.static javax.swing.JCheckBox
createHudCheckBox(java.lang.String checkBoxText)
Creates a Heads Up Display (HUD) style check box, similar to that seen in various iApps (e.g.static javax.swing.JComboBox
createHudComboBox(javax.swing.ComboBoxModel model)
Creates a Heads Up Display (HUD) style combo box, similar to that seen in various iApps (e.g.static javax.swing.JLabel
createHudLabel(java.lang.String labelText)
Creates a Heads Up Display (HUD) style label, similar to that seen in various iApps (e.g.static javax.swing.JPasswordField
createHudPasswordField(java.lang.String text)
Creates a Heads Up Display (HUD) style password field, similar to that seen in various iApps (e.g.static javax.swing.JRadioButton
createHudRadioButton(java.lang.String text)
Creates a Heads Up Display (HUD) style radio button, similar to that seen in various iApps (e.g.static javax.swing.JSlider
createHudSlider()
Creates a Heads Up Display (HUD) style slider, similar to that seen in various iApps (e.g.static javax.swing.JTextField
createHudTextField(java.lang.String text)
Creates a Heads Up Display (HUD) style text field, similar to that seen in various iApps (e.g.
-
-
-
Method Detail
-
createHudLabel
public static javax.swing.JLabel createHudLabel(java.lang.String labelText)
Creates a Heads Up Display (HUD) style label, similar to that seen in various iApps (e.g. iPhoto).
- Parameters:
labelText
- the text of the label.- Returns:
- the HUD style label.
- See Also:
HudLabelUI
-
createHudButton
public static javax.swing.JButton createHudButton(java.lang.String buttonText)
Creates a Heads Up Display (HUD) style button, similar to that seen in various iApps (e.g. iPhoto).
- Parameters:
buttonText
- the text of the button.- Returns:
- the HUD style button.
- See Also:
HudButtonUI
-
createHudCheckBox
public static javax.swing.JCheckBox createHudCheckBox(java.lang.String checkBoxText)
Creates a Heads Up Display (HUD) style check box, similar to that seen in various iApps (e.g. iPhoto).
- Parameters:
checkBoxText
- the text of the check box.- Returns:
- the HUD style check box.
- See Also:
HudCheckBoxUI
-
createHudComboBox
public static javax.swing.JComboBox createHudComboBox(javax.swing.ComboBoxModel model)
Creates a Heads Up Display (HUD) style combo box, similar to that seen in various iApps (e.g. iPhoto).
- Parameters:
model
- the model containing the combo box items.- Returns:
- the HUD style combo box.
- See Also:
HudComboBoxUI
-
createHudTextField
public static javax.swing.JTextField createHudTextField(java.lang.String text)
Creates a Heads Up Display (HUD) style text field, similar to that seen in various iApps (e.g. iPhoto).
- Parameters:
text
- the initial text in the text field.- Returns:
- the HUD style text field.
- See Also:
HudTextFieldUI
-
createHudPasswordField
public static javax.swing.JPasswordField createHudPasswordField(java.lang.String text)
Creates a Heads Up Display (HUD) style password field, similar to that seen in various iApps (e.g. iPhoto).- Parameters:
text
- the initial text in the password field.- Returns:
- the HUD style password field.
- See Also:
HudPasswordFieldUI
-
createHudRadioButton
public static javax.swing.JRadioButton createHudRadioButton(java.lang.String text)
Creates a Heads Up Display (HUD) style radio button, similar to that seen in various iApps (e.g. iPhoto).
- Parameters:
text
- the text of the radio button.- Returns:
- the HUD style radio button.
- See Also:
HudRadioButtonUI
-
createHudSlider
public static javax.swing.JSlider createHudSlider()
Creates a Heads Up Display (HUD) style slider, similar to that seen in various iApps (e.g. iPhoto).
- Returns:
- the HUD style slider.
- See Also:
HudSliderUI
-
-