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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidUI ActionsvoidintgetBaseline(JComponent c, int width, int height) voidintvoidmovePhoneLeft(PhonActionEvent<Void> pae) voidvoidpaint(Graphics g, JComponent c) phoneRectForPosition(int pos) voidsetLockTop(PhonActionEvent<Boolean> pae) voidMethods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, uninstallUI, update
-
Constructor Details
-
DefaultPhoneMapDisplayUI
-
-
Method Details
-
installUI
- Overrides:
installUIin classComponentUI
-
focusNextPhone
UI Actions -
focusPrevPhone
-
movePhoneRight
-
movePhoneLeft
-
togglePhoneColour
-
setLockTop
-
paint
- Overrides:
paintin classComponentUI
-
phoneRectForPosition
-
locationToAlignmentPosition
-
getPreferredSize
- Overrides:
getPreferredSizein classComponentUI
-
getBaseline
- Overrides:
getBaselinein classComponentUI
-