|
Java 6 SE Platform 6.0 Home |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcamickr.Listing
public class Listing
Listing
class categorizes and lists the key/value
pairs contained within the javax.swing.UIDefaults
collection.
javax.swing.UIDefaults
Nested Class Summary | |
---|---|
(package private) static class |
Listing.ComponentMaker
Statically creates a javax.swing.JLabel object and returns this object as
javax.swing.JComponent . |
Field Summary | |
---|---|
(package private) static Listing.ComponentMaker[] |
makers
Component factory creates an array of ComponentMaker objects of all the categorized UI types. |
Constructor Summary | |
---|---|
Listing()
|
Method Summary | |
---|---|
(package private) static java.util.List |
findKeys(java.lang.Class cls)
Finds the keys in the javax.swing.UIDefaults collection for a particular class and sorts the keys using the java.util.Collections#sort method. |
(package private) static java.util.List |
findRestKeys(java.lang.Class[] cls)
Finds the rest of the keys in the javax.swing.UIDefaults collection and sorts the keys using Collections#sort . |
(package private) static javax.swing.JComboBox |
getTypesCombo(javax.swing.JPanel view)
Returns the types javax.swing.JComboBox listing of all the LAF properties and resources. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static Listing.ComponentMaker[] makers
ComponentMaker
objects of all the categorized UI types.
i.e. (Boolean, Border, Color, Font, , Number, String, and The Rest).
Constructor Detail |
---|
public Listing()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
static javax.swing.JComboBox getTypesCombo(javax.swing.JPanel view)
types javax.swing.JComboBox
listing of all the LAF properties and resources.
Attachs java.awt.event.ActionListener
to the cboTypes javax.swing.JComboBox
.
view
- javax.swing.JPanel
of this view.
javax.swing.JComboBox
of all UIDefaults properties and resources.static java.util.List findKeys(java.lang.Class cls)
java.util.Collections#sort
method.
cls
- java.lang.Class
of one of the defined types.
java.util.List
of this class' keys.static java.util.List findRestKeys(java.lang.Class[] cls)
Collections#sort
.
cls
- java.lang.Class
array of defined class types.
java.util.List
of class keys.
|
Java 6 SE Platform 6.0 Home |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |