Package ca.phon.ui.ipa
Class DefaultPhoneMapDisplayUI
java.lang.Object
javax.swing.plaf.ComponentUI
ca.phon.ui.ipa.PhoneMapDisplayUI
ca.phon.ui.ipa.DefaultPhoneMapDisplayUI
Default UI for the phone map display. This class
handles drawing and all input to the component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
UI Actionsvoid
void
int
void
movePhoneLeft
(PhonActionEvent<Void> pae) void
void
paint
(Graphics g, JComponent c) phoneRectForPosition
(int pos) void
setLockTop
(PhonActionEvent<Boolean> pae) void
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, uninstallUI, update
-
Constructor Details
-
DefaultPhoneMapDisplayUI
-
-
Method Details
-
installUI
- Overrides:
installUI
in classComponentUI
-
focusNextPhone
UI Actions -
focusPrevPhone
-
movePhoneRight
-
movePhoneLeft
-
togglePhoneColour
-
setLockTop
-
paint
- Overrides:
paint
in classComponentUI
-
phoneRectForPosition
-
locationToAlignmentPosition
-
getPreferredSize
- Overrides:
getPreferredSize
in classComponentUI
-