com.explodingpixels.macwidgets
Class HudWidgetFactory

java.lang.Object
  extended by com.explodingpixels.macwidgets.HudWidgetFactory

public class HudWidgetFactory
extends java.lang.Object

A factory for creating HUD style widgets. These widgets should be added to a HudWindow.


Method Summary
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.JTextField createHudTextField(java.lang.String text)
          Creates a Heads Up Display (HUD) style text field, similar to that seen in various iApps (e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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