public static class UIFactory.UIFactoryExt extends UIFactory
UIFactory.Colors, UIFactory.UIFactoryExt| Constructor and Description |
|---|
UIFactoryExt(UIFactory uif,
java.lang.Class altClass) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getI18NColor(java.lang.String key)
Get a color from the resource bundle.
|
java.lang.String |
getI18NString(java.lang.String key)
Get a string from the resource bundle.
|
java.lang.String |
getI18NString(java.lang.String key,
java.lang.Object arg)
Get a string from the resource bundle.
|
java.lang.String |
getI18NString(java.lang.String key,
java.lang.Object[] args)
Get a string from the resource bundle.
|
java.net.URL |
getIconURL(java.lang.String uiKey)
Get the resource URL for an icon specified in a resource bundle.
|
addColorChangeObserver, addTab, addToolBarActions, createButton, createButton, createButton, createButton, createButton, createCancelButton, createCancelButton, createCheckBox, createCheckBox, createCheckBox, createCheckBoxMenuItem, createChoice, createChoice, createChoice, createChoice, createChoice, createChoice, createCloseButton, createCloseButton, createColorChooseButton, createDialog, createDialog, createDialog, createDialog, createFrame, createGlue, createHeading, createHelpButton, createHelpMenuItem, createHorizontalBox, createHorizontalGlue, createHorizontalStrut, createIcon, createIconButton, createIconButton, createIconLabel, createImage, createInputField, createInputField, createInputField, createInputField, createLabel, createLabel, createList, createList, createLiteralChoice, createLiteralMenuItem, createMenu, createMenu, createMenu, createMenuBar, createMenuItem, createMenuItem, createMessageArea, createMessageArea, createMessageArea, createOutputField, createOutputField, createOutputField, createOutputField, createOutputField, createOutputField, createOutputField, createOutputField, createOutputField, createOutputField, createOutputField, createPanel, createPanel, createPanel, createPanel, createPopupMenu, createPopupMenu, createProgressBar, createProgressBar, createRadioButton, createRadioButtonMenuItem, createScrollPane, createScrollPane, createSlider, createSplitPane, createSplitPane, createTabbedPane, createTabbedPane, createTable, createTextArea, createTextArea, createTitledBorder, createToolBar, createToolBar, createToolBar, createWaitDialog, createWaitDialog, dispose, getBaseFont, getDefaultInputColor, getDotsPerInch, getHelpBroker, getI18NMnemonic, getI18NResourceBundle, getInvalidInputColor, getValidInputColor, initDialog, initFrame, initMenu, initMenu, initPanel, initPanel, setAccessibleDescription, setAccessibleDescription, setAccessibleInfo, setAccessibleInfo, setAccessibleName, setAccessibleName, setColorByName, setDefaultColors, setDefaultInputColor, setDialogParent, setHelp, setInvalidInputColor, setMnemonic, setToolTip, setValidInputColor, showCustomInfoDialog, showCustomYesNoDialog, showError, showError, showError, showError, showInformation, showInformationDialog, showInformationDialog, showLiteralError, showOKCancelDialog, showOKCancelDialog, showOKCancelDialog, showYesNoCancelDialog, showYesNoCancelDialog, showYesNoCancelDialog, showYesNoDialog, showYesNoDialog, showYesNoDialogpublic UIFactoryExt(UIFactory uif, java.lang.Class altClass)
public java.awt.Color getI18NColor(java.lang.String key)
UIFactorygetI18NColor in class UIFactorykey - the base name of the resource to be returnedpublic java.lang.String getI18NString(java.lang.String key)
UIFactorygetI18NString in class UIFactorykey - the name of the resource to be returnedpublic java.lang.String getI18NString(java.lang.String key,
java.lang.Object arg)
UIFactorygetI18NString in class UIFactorykey - the name of the resource to be returnedarg - an argument to be formatted into the result using
MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)public java.lang.String getI18NString(java.lang.String key,
java.lang.Object[] args)
UIFactorygetI18NString in class UIFactorykey - the name of the resource to be returnedargs - an array of arguments to be formatted into the result using
MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)public java.net.URL getIconURL(java.lang.String uiKey)
UIFactory| uiKey.icon | the name of a resource containing the image |
getIconURL in class UIFactoryuiKey - the base name of the resource to be usedCopyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.