📄 i18n.java
字号:
* * @see java.text.MessageFormat */ public String get(Object requestor, String field, String defaultString, Object param1); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Object requestor, String field, int type, String defaultString, Object param1); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Class requestor, String field, String defaultString, Object param1); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Class requestor, String field, int type, String defaultString, Object param1); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Object requestor, String field, String defaultString, Object param1, Object param2); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Object requestor, String field, int type, String defaultString, Object param1, Object param2); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Class requestor, String field, String defaultString, Object param1, Object param2); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Class requestor, String field, int type, String defaultString, Object param1, Object param2); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Object requestor, String field, String defaultString, Object[] params); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Object requestor, String field, int type, String defaultString, Object[] params); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Class requestor, String field, String defaultString, Object[] params); /** * Method to get a parameterized String, as if by MessageFormat. * * @see java.text.MessageFormat */ public String get(Class requestor, String field, int type, String defaultString, Object[] params); //Methods fill setting the textual properties of common Swing // components: ///////////////////////////////////////////////////////////////////////// /** * Set the textual properties from values in the appropriate * ResourceBundle. * * @param requestor object containing the code requesting the * String (typically <code>this</code). * @param field the field the String belongs to. Typically this will * be the variable name refering to the <code>comp</code> parameter. * @param comp the component whose properties are being set. * @throws MissingResourceException if the data can't be found. */ public void set(Object requestor, String field, JLabel comp); /** * Set the textual properties from values in the appropriate * ResourceBundle. * * @param requestor object containing the code requesting the * String (typically <code>this</code). * @param field the field the String belongs to. Typically this will * be the variable name refering to the <code>comp</code> parameter. * @param comp the component whose properties are being set. * @throws MissingResourceException if the data can't be found. */ public void set(Object requestor, String field, JButton comp); /** * Set the textual properties from values in the appropriate * ResourceBundle. * * @param requestor object containing the code requesting the * String (typically <code>this</code). * @param field the field the String belongs to. Typically this will * be the variable name refering to the <code>comp</code> parameter. * @param comp the component whose properties are being set. * @throws MissingResourceException if the data can't be found. */ public void set(Object requestor, String field, JMenu comp); /** * Set the textual properties from values in the appropriate * ResourceBundle. * * @param requestor object containing the code requesting the * String (typically <code>this</code). * @param field the field the String belongs to. Typically this will * be the variable name refering to the <code>comp</code> parameter. * @param comp the component whose properties are being set. * @throws MissingResourceException if the data can't be found. */ public void set(Object requestor, String field, JMenuItem comp); /** * Set the textual properties from values in the appropriate * ResourceBundle. * * @param requestor object containing the code requesting the * String (typically <code>this</code). * @param field the field the String belongs to. Typically this will * be the variable name refering to the <code>comp</code> parameter. * @param comp the component whose properties are being set. * @throws MissingResourceException if the data can't be found. */ public void set(Object requestor, String field, JDialog comp); /** * Set the textual properties from values in the appropriate * ResourceBundle. * * @param requestor object containing the code requesting the * String (typically <code>this</code). * @param field the field the String belongs to. Typically this will * be the variable name refering to the <code>comp</code> parameter. * @param comp the component whose properties are being set. * @throws MissingResourceException if the data can't be found. */ public void set(Object requestor, String field, JFrame comp); /** * Set the textual properties from values in the appropriate * ResourceBundle. * <P> * <B>Note: This method just looks for a TitledBorder on the * component. </B> * * @param requestor object containing the code requesting the * String (typically <code>this</code). * @param field the field the String belongs to. Typically this will * be the variable name refering to the <code>comp</code> parameter. * @param comp the component whose properties are being set. * @throws MissingResourceException if the data can't be found. */ public void set(Object requestor, String field, JComponent comp); //Methods for filling in strings using reflection: ////////////////////////////////////////////////// /** * Set the textual properties on a Swing component that is a * member of a given class, from values in the ResourceBundle * associated with that class. Note that the field must contain an * object of a known type (see the other set(...) methods of this * class). * <P> * The setting of the values of this field will be accomplished by * calling the appropriate set(...) method on this class. * * @param requestor object containing the code requesting the * Component setup (typically <code>this</code). * @param field the variable name of the component being setup. * @throws MissingResourceException if the data can't be found. */ public void set(Object requestor, String field); /** * Fill in all of the fields of the given object that are of known * types (see the set(...) methods of this class) with values * obtained from the appropriate ResourceBundle. * <P> * The setting of the values of this field will be accomplished by * calling the appropriate set(...) method on this class. */ public void fill(Object requestor);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -