Package net.sourceforge.jeuclid.swing
Class MathComponentUI
java.lang.Object
javax.swing.plaf.ComponentUI
net.sourceforge.jeuclid.swing.MathComponentUI
- All Implemented Interfaces:
PropertyChangeListener,EventListener
See http://today.java.net/pub/a/today/2007/02/22/how-to-write-custom-swing-
component.html for details.
- Version:
- $Revision: cae99f384592 $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNodesAt(float x, float y) Get vector ofJEuclidView.NodeRectat a particular mouse position.protected voidConfigures the default properties from Linvalid input: '&F'.voidvoidpaint(Graphics g, JComponent c) voidvoidvoidupdate(Graphics g, JComponent c) Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
-
Constructor Details
-
MathComponentUI
public MathComponentUI()Default constructor.
-
-
Method Details
-
paint
- Overrides:
paintin classComponentUI
-
update
- Overrides:
updatein classComponentUI
-
installUI
- Overrides:
installUIin classComponentUI
-
installDefaults
Configures the default properties from Linvalid input: '&F'.- Parameters:
c- the component
-
uninstallUI
- Overrides:
uninstallUIin classComponentUI
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
getPreferredSize
- Overrides:
getPreferredSizein classComponentUI
-
getMaximumSize
- Overrides:
getMaximumSizein classComponentUI
-
getMinimumSize
- Overrides:
getMinimumSizein classComponentUI
-
getNodesAt
Get vector ofJEuclidView.NodeRectat a particular mouse position.- Parameters:
x- x-coordy- y-coord- Returns:
- list of nodes with rendering information
-