|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.swing.OverlayableUtils
public class OverlayableUtils
This util class has several methods related to Overlayable.
| Constructor Summary | |
|---|---|
OverlayableUtils()
|
|
| Method Summary | |
|---|---|
static Overlayable[] |
getAllOverlayables(JComponent component)
Gets all overlayables associated with this component and its parents. |
static Overlayable |
getOverlayable(JComponent component)
Gets the overlayable associated with this component and its parents. |
static Icon |
getPredefinedOverlayIcon(String name)
Gets the predefined icon that can be used as the overlay icon for the Swing component. |
static void |
repaintAllOverlayables(JComponent component)
Repaints all the overlayables associated with the component or its parents. |
static void |
repaintOverlayable(JComponent component)
Repaints the overlayable component associated with component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OverlayableUtils()
| Method Detail |
|---|
public static Overlayable getOverlayable(JComponent component)
component - the component.
public static Overlayable[] getAllOverlayables(JComponent component)
getOverlayable(javax.swing.JComponent), this method will find the all overlayables that contain the component
or its parents.
component - the component
public static void repaintOverlayable(JComponent component)
public OverlayTextField() {
...
public void repaint(long tm, int x, int y, int width, int height) {
super.repaint(tm, x, y, width, height);
OverlayableUtils.repaintOverlayable(this);
}
component - the component that has an overlayable.public static void repaintAllOverlayables(JComponent component)
component - the component.public static Icon getPredefinedOverlayIcon(String name)
OverlayableIconsFactory.CORRECT OverlayableIconsFactory.ERROR OverlayableIconsFactory.ATTENTION OverlayableIconsFactory.INFO OverlayableIconsFactory.QUESTION
name - name defined in OverlayableIconsFactory.
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||