void
|
addButtonComponents(Container container, Object[] buttons, int initialIndex)
Creates the appropriate object to represent each of the objects in
buttons and adds it to container .
|
void
|
addIcon(Container top)
Creates and adds a JLabel representing the icon returned from
getIcon to top .
|
void
|
addMessageComponents(Container container, GridBagConstraints cons, Object msg, int maxll, boolean internallyCreated)
Creates the appropriate object to represent msg and
places it into container .
|
void
|
burstStringInto(Container c, String d, int maxll)
Recursively creates new JLabel instances to represent d .
|
boolean
|
containsCustomComponents(JOptionPane op)
Returns true if in the last call to validateComponent the message
or buttons contained a subclass of Component.
|
ActionListener
|
createButtonActionListener(int buttonIndex)
|
Container
|
createButtonArea()
Creates and returns a Container containing the buttons.
|
LayoutManager
|
createLayoutManager()
|
Container
|
createMessageArea()
Messaged from installComponents to create a Container containing the
body of the message.
|
PropertyChangeListener
|
createPropertyChangeListener()
|
Container
|
createSeparator()
|
static
ComponentUI
|
createUI(JComponent x)
Creates a new BasicOptionPaneUI instance.
|
Object[]
|
getButtons()
Returns the buttons to display from the JOptionPane the receiver is
providing the look and feel for.
|
Icon
|
getIcon()
Returns the icon from the JOptionPane the receiver is providing
the look and feel for, or the default icon as returned from
getDefaultIcon .
|
Icon
|
getIconForType(int messageType)
Returns the icon to use for the passed in type.
|
int
|
getInitialValueIndex()
Returns the initial index into the buttons to select.
|
int
|
getMaxCharactersPerLineCount()
Returns the maximum number of characters to place on a line.
|
Object
|
getMessage()
Returns the message to display from the JOptionPane the receiver is
providing the look and feel for.
|
Dimension
|
getMinimumOptionPaneSize()
Returns the minimum size the option pane should be.
|
Dimension
|
getPreferredSize(JComponent c)
If c is the JOptionPane the receiver
is contained in, the preferred
size that is returned is the maximum of the preferred size of
the LayoutManager for the JOptionPane , and
getMinimumOptionPaneSize .
|
boolean
|
getSizeButtonsToSameWidth()
Returns true, basic L&F wants all the buttons to have the same
width.
|
void
|
installComponents()
|
void
|
installDefaults()
|
void
|
installKeyboardActions()
|
void
|
installListeners()
|
void
|
installUI(JComponent c)
Installs the receiver as the L&F for the passed in
JOptionPane .
|
void
|
resetInputValue()
Sets the input value in the option pane the receiver is providing
the look and feel for based on the value in the inputComponent.
|
void
|
selectInitialValue(JOptionPane op)
If inputComponent is non-null, the focus is requested on that,
otherwise request focus on the default value
|
void
|
uninstallComponents()
|
void
|
uninstallDefaults()
|
void
|
uninstallKeyboardActions()
|
void
|
uninstallListeners()
|
void
|
uninstallUI(JComponent c)
Removes the receiver from the L&F controller of the passed in split
pane.
|