public class FormatPanel extends SwingOwner
DragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased
Constructor and Description |
---|
FormatPanel() |
Modifier and Type | Method and Description |
---|---|
static RMDateFormat |
getDateFormat(int anIndex)
Returns the preset date format at the given index.
|
static int |
getDateFormatCount()
Returns the number of preset date formats available to the format panel.
|
static int |
getDateFormatIndex(java.lang.String aPattern)
Returns the index of the preset date format for a given date format pattern.
|
static java.lang.String |
getDateFormatsString()
Returns the Format panel's current date format strings as a single newline separated string.
|
static java.lang.String |
getDefaultDateFormatsString()
Returns ReportMill's default date format strings as a single newline delimited String.
|
static java.lang.String |
getDefaultNumberFormatsString()
Returns ReportMill's default number format strings as a single newline delimited string.
|
static RMNumberFormat |
getNumberFormat(int anIndex)
Returns the preset number format at the given index.
|
static int |
getNumberFormatCount()
Returns the number of preset number formats available to the format panel.
|
static java.lang.String |
getNumberFormatsString()
Returns the Format panel's current number format strings as a single newline separated string.
|
java.lang.String |
getWindowTitle()
Returns the name for the attributes panel window.
|
protected void |
initUI()
Initialize UI panel.
|
void |
resetUI()
Reset UI panel.
|
void |
respondUI(SwingEvent anEvent)
Responds to changes from format panel UI controls.
|
static void |
setDateFormatsString(java.lang.String aString)
Sets the FormatPanel's current date formats from a single newline separated string.
|
static void |
setNumberFormatsString(java.lang.String aString)
Sets the FormatPanel's current number formats from a single newline separated string.
|
addKeyActionEvent, createTimer, createUI, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisible
addNodeBinding, disableEvents, enableEvents, getBindingModelValue, getBindingNodeValue, getConversionMap, getConversionMapKey, getConversionMaps, getConversionMapValue, getFirstFocus, getModelValue, getNode, getNodeAction, getNodeBoolValue, getNodeFloatValue, getNodeIntValue, getNodeItemDisplayKey, getNodeItems, getNodeSelectedIndex, getNodeSelectedItem, getNodeStringValue, getNodeText, getNodeValue, getUI, getUIHpr, initUI, isNodeEnabled, isNodeValueAdjusting, isSendEventDisabled, isUISet, processResetUI, processRespondUI, resetLater, resetNodeBindings, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
protected void initUI()
initUI
in class UIOwner<SwingEvent,javax.swing.JComponent>
public void resetUI()
resetUI
in class UIOwner<SwingEvent,javax.swing.JComponent>
public void respondUI(SwingEvent anEvent)
respondUI
in class UIOwner<SwingEvent,javax.swing.JComponent>
public static int getNumberFormatCount()
public static RMNumberFormat getNumberFormat(int anIndex)
public static java.lang.String getNumberFormatsString()
public static void setNumberFormatsString(java.lang.String aString)
public static int getDateFormatCount()
public static RMDateFormat getDateFormat(int anIndex)
public static int getDateFormatIndex(java.lang.String aPattern)
public static java.lang.String getDateFormatsString()
public static void setDateFormatsString(java.lang.String aString)
public java.lang.String getWindowTitle()
public static java.lang.String getDefaultNumberFormatsString()
public static java.lang.String getDefaultDateFormatsString()