|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectswingwtx.swing.plaf.ComponentUI
Constructor Summary | |
ComponentUI()
|
Method Summary | |
boolean |
contains(JComponent component,
int x,
int y)
Should return true if coordinates are inside this component's screen real-estate. |
static ComponentUI |
createUI(JComponent component)
createUI - must be implemented by subclasses Not sure why Sun didn't make this abstract. |
Accessible |
getAccessibleChild(JComponent c,
int i)
|
int |
getAccessibleChildrenCount(JComponent c)
Accessible methods - currently just stubbed out in SwingUtilities |
Dimension |
getMaximumSize(JComponent component)
|
Dimension |
getMinimumSize(JComponent component)
|
Dimension |
getPreferredSize(JComponent component)
Default component size methods - return null |
void |
installUI(JComponent c)
|
void |
paint(Graphics g,
JComponent c)
|
void |
uninstallUI(JComponent c)
|
void |
update(Graphics g,
JComponent c)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComponentUI()
Method Detail |
public static ComponentUI createUI(JComponent component)
component
-
public void installUI(JComponent c)
public void uninstallUI(JComponent c)
public void paint(Graphics g, JComponent c)
public void update(Graphics g, JComponent c)
public Dimension getPreferredSize(JComponent component)
public Dimension getMinimumSize(JComponent component)
public Dimension getMaximumSize(JComponent component)
public boolean contains(JComponent component, int x, int y)
component
- x
- y
-
public int getAccessibleChildrenCount(JComponent c)
public Accessible getAccessibleChild(JComponent c, int i)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |