Package com.jackmeng.stl
Class stl_SwingHelper
java.lang.Object
com.jackmeng.stl.stl_SwingHelper
public final class stl_SwingHelper
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classstl_SwingHelper.$rr_corner_border_01 -
Constructor Summary
Constructors Modifier Constructor Description privatestl_SwingHelper() -
Method Summary
Modifier and Type Method Description static intacc_mem()static java.awt.GraphicsConfigurationdefault_gconf()static java.awt.GraphicsDevicedefault_gdev()private static java.lang.StringgetComponentInfo(java.awt.Component component)static stl_Struct.struct_Pair<javax.swing.JTree,java.util.Map<java.lang.String,java.awt.Component>>getComponentTreeWithInfo()static javax.swing.border.Borderrrect_border_uniform(int round_factor, java.awt.Color color, int thickness)static java.awt.Shaperrect_clip(int x, int y, int arc_w, int arc_h, int w, int h)private static voidtraverseComponentHierarchy(java.awt.Component component, javax.swing.tree.DefaultMutableTreeNode node, java.util.Map<java.lang.String,java.awt.Component> componentInfoMap)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
stl_SwingHelper
private stl_SwingHelper()
-
-
Method Details
-
rrect_border_uniform
public static javax.swing.border.Border rrect_border_uniform(int round_factor, java.awt.Color color, int thickness) -
rrect_clip
public static java.awt.Shape rrect_clip(int x, int y, int arc_w, int arc_h, int w, int h) -
default_gdev
public static java.awt.GraphicsDevice default_gdev() -
default_gconf
public static java.awt.GraphicsConfiguration default_gconf() -
acc_mem
public static int acc_mem() -
getComponentTreeWithInfo
public static stl_Struct.struct_Pair<javax.swing.JTree,java.util.Map<java.lang.String,java.awt.Component>> getComponentTreeWithInfo() -
traverseComponentHierarchy
private static void traverseComponentHierarchy(java.awt.Component component, javax.swing.tree.DefaultMutableTreeNode node, java.util.Map<java.lang.String,java.awt.Component> componentInfoMap) -
getComponentInfo
private static java.lang.String getComponentInfo(java.awt.Component component)
-