Represents a key that cycles through the available keyboard layouts.
Namespace: com.mindfusion.keyboard
Assembly: com.mindfusion.keyboard
SyntaxJava
Copy Code
|
|---|
public class LayoutRingKey extends Key implements Serializable |
RemarksPressing this key cycles through the layouts assigned to keyboard's LayoutRing property. The key's default appearance is determined by the properties of the *next* layout in the LayoutRing cycle, following this priority:
1. If the next layout has a non-null / empty Image property, that image is displayed.
2. If there is no Image assigned to the layout, but the Label property is set, that text is displayed as key's Content.
3. If neither Image nor Label is set, the key will display the Unicode keyboard symbol (U+2328) as a fallback.
You can change the key appearance by setting a custom KeyTemplate and overriding draw method of KeyTemplate class.
Inheritance Hierarchyjava.lang.Object![]()
com.mindfusion.keyboard.Key
com.mindfusion.keyboard.LayoutRingKey
See Also