| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
net.sourceforge.jeuclid.swing.MathComponentUI
public class MathComponentUI
See http://today.java.net/pub/a/today/2007/02/22/how-to-write-custom-swing- component.html for details.
| Constructor Summary | |
|---|---|
| MathComponentUI()Default constructor. | |
| Method Summary | |
|---|---|
|  Dimension | getMaximumSize(JComponent c) | 
|  Dimension | getMinimumSize(JComponent c) | 
|  List<JEuclidView.NodeRect> | getNodesAt(JMathComponent mathComponent,
                     float x,
                     float y)Get vector of JEuclidView.NodeRectat a particular mouse
 position. | 
|  Dimension | getPreferredSize(JComponent c) | 
| protected  void | installDefaults(JComponent c)Configures the default properties from L&F. | 
|  void | installUI(JComponent c) | 
|  void | paint(Graphics g,
           JComponent c) | 
|  void | propertyChange(PropertyChangeEvent evt) | 
|  void | uninstallUI(JComponent c) | 
|  void | update(Graphics g,
             JComponent c) | 
| Methods inherited from class javax.swing.plaf.ComponentUI | 
|---|
| contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MathComponentUI()
| Method Detail | 
|---|
public void paint(Graphics g,
                  JComponent c)
paint in class ComponentUI
public void update(Graphics g,
                   JComponent c)
update in class ComponentUIpublic void installUI(JComponent c)
installUI in class ComponentUIprotected void installDefaults(JComponent c)
c - the componentpublic void uninstallUI(JComponent c)
uninstallUI in class ComponentUIpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic Dimension getPreferredSize(JComponent c)
getPreferredSize in class ComponentUIpublic Dimension getMaximumSize(JComponent c)
getMaximumSize in class ComponentUIpublic Dimension getMinimumSize(JComponent c)
getMinimumSize in class ComponentUI
public List<JEuclidView.NodeRect> getNodesAt(JMathComponent mathComponent,
                                             float x,
                                             float y)
JEuclidView.NodeRect at a particular mouse
 position.
mathComponent - MathComponent to look in.x - x-coordy - y-coord
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||