A C F G I J L N R S T
A
- addActionListener(ActionListener) -
Method in class net.mariottini.swing.JFontChooser
- Adds an action listener to this component.
- APPROVE_OPTION -
Static variable in class net.mariottini.swing.JFontChooser
showDialog
returns this value if the user has approved (chosen) a font.
- APPROVE_SELECTION -
Static variable in class net.mariottini.swing.JFontChooser
- Action command used to notify that the user has approved (chosen) a font.
- approveSelection() -
Method in class net.mariottini.swing.JFontChooser
- Called when the user approves a font.
C
- CANCEL_OPTION -
Static variable in class net.mariottini.swing.JFontChooser
showDialog
returns this value if the user has not chosen a font.
- CANCEL_SELECTION -
Static variable in class net.mariottini.swing.JFontChooser
- Action command used to notify that the user has not chosen a font.
- cancelSelection() -
Method in class net.mariottini.swing.JFontChooser
- Called when the user cancels the operation.
F
- FONT_NAME_CHANGED_PROPERTY -
Static variable in class net.mariottini.swing.JFontChooser
- Name of the property used to notify that the user has changed the selected font name in the name list.
- FONT_SIZE_CHANGED_PROPERTY -
Static variable in class net.mariottini.swing.JFontChooser
- Name of the property used to notify that the user has changed the selected font size in the size list or
in the size text field.
- FONT_STYLE_CHANGED_PROPERTY -
Static variable in class net.mariottini.swing.JFontChooser
- Name of the property used to notify that the user has changed the selected font style in the style list.
G
- getAccessory() -
Method in class net.mariottini.swing.JFontChooser
- Returns the accessory component.
- getColorThickness() -
Method in class net.mariottini.swing.JColorComboBox
- Returns the current color line thickness/rectangle height.
- getColorWidth() -
Method in class net.mariottini.swing.JColorComboBox
- Returns the width of the color line/rectangle.
- getItemHeight() -
Method in class net.mariottini.swing.JColorComboBox
- Returns the current height of the combo box list item.
- getSampleComponent() -
Method in class net.mariottini.swing.JFontChooser
- Returns the component used to show the font sample.
- getSelectedColor() -
Method in class net.mariottini.swing.JColorComboBox
- Returns the selected color.
- getSelectedFont() -
Method in class net.mariottini.swing.JFontChooser
- Returns the currently selected font.
- getShowText() -
Method in class net.mariottini.swing.JColorComboBox
- Returns the text showing status.
- getType() -
Method in class net.mariottini.swing.JColorComboBox
- Returns the type of this combo box.
I
- isSampleVisible() -
Method in class net.mariottini.swing.JFontChooser
- Returns the sample panel visibility status.
J
- JColorComboBox - Class in net.mariottini.swing
- A combo box that lets the user choose a color.
- JColorComboBox(int) -
Constructor for class net.mariottini.swing.JColorComboBox
- Create a color combo box of the specified type.
- JColorComboBox(int, boolean) -
Constructor for class net.mariottini.swing.JColorComboBox
- Create a color combo box of the specified type, optionally showing also
colors names.
- JColorComboBox(int, Color[]) -
Constructor for class net.mariottini.swing.JColorComboBox
- Create a color combo box of the specified type, offering the specified colors.
- JColorComboBox(int, Color[], String[]) -
Constructor for class net.mariottini.swing.JColorComboBox
- Create a color combo box of the specified type, offering the specified colors
and color names.
- JFontChooser - Class in net.mariottini.swing
- A dialog box that lets the user choose a font.
- JFontChooser(String[], boolean) -
Constructor for class net.mariottini.swing.JFontChooser
- Construct a font chooser with the specified fonts, optionally showing a sample to the user.
- JFontChooser(String[]) -
Constructor for class net.mariottini.swing.JFontChooser
- Construct a font chooser with the specified fonts, showing a sample to the user.
- JFontChooser(boolean) -
Constructor for class net.mariottini.swing.JFontChooser
- Construct a font chooser with all the available fonts, optionally showing a sample to the user.
- JFontChooser() -
Constructor for class net.mariottini.swing.JFontChooser
- Construct a font chooser with all the available fonts, showing a sample to the user.
L
- LINE -
Static variable in class net.mariottini.swing.JColorComboBox
- Show the color with a colored line.
N
- net.mariottini.swing - package net.mariottini.swing
-
R
- RECT -
Static variable in class net.mariottini.swing.JColorComboBox
- Show the color with a colored rectangle.
- removeActionListener(ActionListener) -
Method in class net.mariottini.swing.JFontChooser
- Remove an action listener from this component.
S
- setAccessory(JComponent) -
Method in class net.mariottini.swing.JFontChooser
- Sets the accessory component.
- setColorThickness(int) -
Method in class net.mariottini.swing.JColorComboBox
- Set the thickness of the color line (if type is
JColorComboBox.LINE
)
or the height of the color rectangle (if type is JColorComboBox.RECT
).
- setColorWidth(int) -
Method in class net.mariottini.swing.JColorComboBox
- Sets the width of the color line/rectangle.
- setFont(Font) -
Method in class net.mariottini.swing.JColorComboBox
- Sets the font to use for this combo box.
- setFontNames(String[]) -
Method in class net.mariottini.swing.JFontChooser
- change the font names to show in the font list.
- setItemHeight(int) -
Method in class net.mariottini.swing.JColorComboBox
- Sets the height of the combo box list item.
- setSampleText(String) -
Method in class net.mariottini.swing.JFontChooser
- Set the string to use as a sample for the fonts.
- setSampleVisible(boolean) -
Method in class net.mariottini.swing.JFontChooser
- Shows/hides the sample panel.
- setSelectedColor(Color) -
Method in class net.mariottini.swing.JColorComboBox
- Select a color.
- setSelectedFont(Font) -
Method in class net.mariottini.swing.JFontChooser
- Sets the currently selected font.
- setSelectedItem(Object) -
Method in class net.mariottini.swing.JColorComboBox
- Select a color.
- setShowText(boolean) -
Method in class net.mariottini.swing.JColorComboBox
- Call this function to enable/disable the showing of colors names.
- setType(int) -
Method in class net.mariottini.swing.JColorComboBox
- Set this combo box of the specified type.
- showDialog(Component) -
Method in class net.mariottini.swing.JFontChooser
- Show a modal "Choose Font" dialog.
- showDialog(Component, String) -
Method in class net.mariottini.swing.JFontChooser
- Show a modal "Choose Font" dialog with the specified title.
- showDialog(Component, String, boolean) -
Method in class net.mariottini.swing.JFontChooser
- Show a "Choose Font" dialog with the specified title and modality.
T
- TEXT_ONLY -
Static variable in class net.mariottini.swing.JColorComboBox
- Show the color with a colored string.
A C F G I J L N R S T
Copyright © 2006, 2007 Roberto Mariottini. All Rights Reserved.