| java.lang.Object com.tomsawyer.editor.service.layout.jlayout.AccessiblityUtils
AccessiblityUtils | public class AccessiblityUtils (Code) | | author: Thuy |
Field Summary | |
public static TSEResourceBundleWrapper | TSBundle |
Method Summary | |
public static char | getMnemonic(String bundleKey) this mehod get the mnemonic character given the bundle key without the prefix "MNE_"
Parameters: bundleKey - the bundle key without the prefix "MNE_". | public static void | setAccessibleProperties(Component comp, String accsNameKey, String accsDescKey) this mehod set the accessible name and descrption of a component.
for any java component, the accessible name is set, by default, to be the same as the component's label or text or name,
so there is no need to set the accessible name unless you want to set it to a different name. |
TSBundle | public static TSEResourceBundleWrapper TSBundle(Code) | | |
AccessiblityUtils | public AccessiblityUtils()(Code) | | Creates a new instance of AccessiblityUtils
|
getMnemonic | public static char getMnemonic(String bundleKey)(Code) | | this mehod get the mnemonic character given the bundle key without the prefix "MNE_"
Parameters: bundleKey - the bundle key without the prefix "MNE_". If bundleKey is null, '?' is returned. |
setAccessibleProperties | public static void setAccessibleProperties(Component comp, String accsNameKey, String accsDescKey)(Code) | | this mehod set the accessible name and descrption of a component.
for any java component, the accessible name is set, by default, to be the same as the component's label or text or name,
so there is no need to set the accessible name unless you want to set it to a different name. For customized components, you
have to explitcilty set the accessibe name.
Parameters: comp - the component that needs to have accessible name and description set. Parameters: accsNameKey - the bundle key without the fix "ACSN_" to get the accessible name. Set this parameter to null,if you don't want to set the accessibel name. Parameters: accsDescKey - the bundle key without the fix "ACSD_" to get the accessible description. Set this parameter to null,if you don't want to set the accessibel description. |
|
|