Java Doc for Thinlet.java in  » Swing-Library » thinlet » thinlet » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Swing Library » thinlet » thinlet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Container
         thinlet.Thinlet

All known Subclasses:   thinlet.demo.Demo,  thinlet.demo.Calculator,  thinlet.drafts.Drafts,
Thinlet
public class Thinlet extends Container implements Runnable,Serializable(Code)




Method Summary
public  voidadd(Object component)
    
public  voidadd(Object parent, Object component)
    
public  voidadd(Object parent, Object component, int index)
    
protected  voidcharacters(String text)
    
public static  Objectcreate(String classname)
     Creates a new component
Parameters:
  classname - the widget type (e.g.
public  booleandestroy()
     This method is called by the FrameLauncher if the window was closing, or AppletLauncher's destroy method.
protected  voidendElement()
    
public  Objectfind(String name)
    
public  Objectfind(Object component, String name)
    
public  booleangetBoolean(Object component, String key)
    
public  StringgetChoice(Object component, String key)
    
public static  StringgetClass(Object component)
     Gets the type of the given component
Parameters:
  component - a widget the class name of the component (e.g.
public  intgetCount(Object component)
    
protected static  StringgetDOMAttribute(Object node, String key)
    
protected static  intgetDOMCount(Object node, String key)
    
protected static  ObjectgetDOMNode(Object node, String key, int index)
    
protected static  StringgetDOMText(Object node)
    
public  ObjectgetDesktop()
    
public  ImagegetIcon(Object component, String key)
    
public  ImagegetIcon(String path)
    
public  ImagegetIcon(String path, boolean preload)
     Creates an image from the specified resource.
public  intgetInteger(Object component, String key)
    
public  ObjectgetItem(Object component, int index)
    
public  Object[]getItems(Object component)
    
public static  ResourceBundlegetLangResource()
     Returns language resource bundle currently in use, or default bundle, or null.
public static  ResourceBundlegetLangResourceDefault()
     Returns default language resource bundle, or null.
public  ObjectgetParent(Object component)
    
public  DimensiongetPreferredSize()
    
public  ObjectgetProperty(Object component, Object key)
     Returns the value of the property with the specified key.
public  intgetSelectedIndex(Object component)
    
public  ObjectgetSelectedItem(Object component)
    
public  Object[]getSelectedItems(Object component)
    
public  StringgetString(Object component, String key)
    
public  ObjectgetWidget(Object component, String key)
    
protected  voidhandleException(Throwable throwable)
    
public  booleanisFocusTraversable()
    
public  voidpaint(Graphics g)
    
public  Objectparse(String path)
    
public  Objectparse(String path, Object handler)
    
public  Objectparse(InputStream inputstream)
     Creates a component from the given stream
Parameters:
  inputstream - e.g.
public  Objectparse(InputStream inputstream, Object handler)
    
protected  ObjectparseDOM(InputStream inputstream)
     You can use the internal xml parser as a simple DOM-like parser, use the getDOMAttribute, getDOMText, getDOMCount, getDOMNode, getClass, and getParent methods to analise the document
Parameters:
  inputstream - e.g.
protected  voidparseXML(InputStream inputstream)
     You can use the internal xml parser as a simple SAX-like parser, during the process it calls the startElement, characters, and endElement methods
Parameters:
  inputstream - e.g.
protected  voidprocessEvent(AWTEvent e)
    
public  voidputProperty(Object component, Object key, Object value)
     Binds the specified key to the specified value, and stores in this component. Null value removes the property.
public  voidremove(Object component)
    
public  voidremoveAll(Object component)
    
public  voidrepaint(Object component)
    
public  booleanrequestFocus(Object component)
    
public synchronized  voidrun()
    
public  voidsetAllI18n(boolean val)
     Sets the default behaviour of internationalization code.
public  voidsetBoolean(Object component, String key, boolean value)
    
public  voidsetChoice(Object component, String key, String value)
    
public  voidsetColor(Object component, String key, Color color)
     Set custom color on a component.
public  voidsetColors(int background, int text, int textbackground, int border, int disable, int hover, int press, int focus, int select)
    
public  voidsetFont(Font font)
     Sets the only one font used everywhere, and revalidates the whole UI.
public  voidsetFont(Object component, Font font)
    
public  voidsetFont(Object component, String key, Font font)
    
public  voidsetIcon(Object component, String key, Image icon)
    
public  voidsetInteger(Object component, String key, int value)
    
public  voidsetKeystroke(Object component, String key, String value)
    
public  voidsetLangResource(ResourceBundle res)
     Set current language resource bundle.
public  voidsetLangResourceDefault(ResourceBundle res)
     Set default language resource bundle.
public  voidsetMethod(Object component, String key, String value, Object root, Object handler)
     Sets a new event handler method for a component
Parameters:
  component - the target component
Parameters:
  key - the key name of the parameter (e.g.
public  voidsetResourceBundle(ResourceBundle resourcebundle)
    
public  voidsetString(Object component, String key, String value)
    
protected  voidstartElement(String name, Hashtable attributelist)
    
public  voidupdate(Graphics g)
    



Method Detail
add
public void add(Object component)(Code)
Adds the specified component to the root desktop
Parameters:
  component - a widget to be added



add
public void add(Object parent, Object component)(Code)
Adds the specified component to the end of the specified container
Parameters:
  parent - a container
Parameters:
  component - a component to be added



add
public void add(Object parent, Object component, int index)(Code)
Adds the specified component to the container at the given position
Parameters:
  parent - a container
Parameters:
  component - a component to be inserted
Parameters:
  index - the position at which to insert the component, or -1 to insert the component at the end



characters
protected void characters(String text)(Code)
The SAX-like parser calls this method, you have to overwrite it
Parameters:
  text - the content of a tag



create
public static Object create(String classname)(Code)
Creates a new component
Parameters:
  classname - the widget type (e.g. button) a new component, every component is simply an Object
throws:
  java.lang.IllegalArgumentException - for unknown widget type



destroy
public boolean destroy()(Code)
This method is called by the FrameLauncher if the window was closing, or AppletLauncher's destroy method. Overwrite it to e.g. save the application changes. true to exit, and false to keep the frame and continue the application



endElement
protected void endElement()(Code)
The SAX-like parser calls this method, you have to overwrite it



find
public Object find(String name)(Code)
Finds the first component from the root desktop by a specified name value
Parameters:
  name - parameter value identifies the widget the first suitable component, or null



find
public Object find(Object component, String name)(Code)
Finds the first component from the specified component by a name
Parameters:
  component - the widget is searched inside this component
Parameters:
  name - parameter value identifies the widget the first suitable component, or null



getBoolean
public boolean getBoolean(Object component, String key)(Code)
Gets the property value of the given component by the property key



getChoice
public String getChoice(Object component, String key)(Code)
Gets the property value of the given component by the property key



getClass
public static String getClass(Object component)(Code)
Gets the type of the given component
Parameters:
  component - a widget the class name of the component (e.g. button)



getCount
public int getCount(Object component)(Code)
Gets the count of subcomponents in the list of the given component
Parameters:
  component - a widget the number of components in this component



getDOMAttribute
protected static String getDOMAttribute(Object node, String key)(Code)
Gets the attribute value by the specified key for a DOM tag
Parameters:
  node - a specified tag
Parameters:
  key - a string to identify the value pair the value, or null



getDOMCount
protected static int getDOMCount(Object node, String key)(Code)
Gets the number of tags in a tag by a specified tagname
Parameters:
  node - a specified tag
Parameters:
  key - the searched tagname the number of tags



getDOMNode
protected static Object getDOMNode(Object node, String key, int index)(Code)
Gets the subtag of the specified tag by tagname and index
Parameters:
  node - a specified tag
Parameters:
  key - the searched tagname
Parameters:
  index - the index of the requested subtag the found tag, or null



getDOMText
protected static String getDOMText(Object node)(Code)
Gets the content string of a tag
Parameters:
  node - a specified tag the value, or null



getDesktop
public Object getDesktop()(Code)
Get the topmost component the root object (it is a desktop), never null



getIcon
public Image getIcon(Object component, String key)(Code)
Gets the property value of the given component by the property key



getIcon
public Image getIcon(String path)(Code)
Creates an image, and loads it immediately by default
Parameters:
  path - is relative to your thinlet instance or the classpath(if the path starts with '/' character), or a full URL the loaded image or null



getIcon
public Image getIcon(String path, boolean preload)(Code)
Creates an image from the specified resource. To speed up loading the same images use a cache (a simple hashtable). And flush the resources being used by an image when you won't use it henceforward
Parameters:
  path - is relative to your thinlet instance or the classpath, or an URL
Parameters:
  preload - waits for the whole image if true, starts loading(and repaints, and updates the layout) only when required (painted, or size requested) if false the loaded image or null



getInteger
public int getInteger(Object component, String key)(Code)
Gets the property value of the given component by the property key



getItem
public Object getItem(Object component, int index)(Code)
Returns the subcomponent of the given component's specified list at the given index
Parameters:
  component - a specified container
Parameters:
  index - the index of the component to get the indexth component in this container



getItems
public Object[] getItems(Object component)(Code)
Gets all the components in this container
Parameters:
  component - a specified container an array of all the components in this container



getLangResource
public static ResourceBundle getLangResource()(Code)
Returns language resource bundle currently in use, or default bundle, or null.



getLangResourceDefault
public static ResourceBundle getLangResourceDefault()(Code)
Returns default language resource bundle, or null.



getParent
public Object getParent(Object component)(Code)
Gets the parent of this component
Parameters:
  component - a widget the parent container of this component or item



getPreferredSize
public Dimension getPreferredSize()(Code)
Gets the preferred size of the root component a dimension object indicating the root component's preferred size



getProperty
public Object getProperty(Object component, Object key)(Code)
Returns the value of the property with the specified key.
Parameters:
  component - searches the hashtable of this component
Parameters:
  key - the client property key the value to which the key is mapped or null if the key is not mapped to any value



getSelectedIndex
public int getSelectedIndex(Object component)(Code)
Gets the index of the first selected item in the given component
Parameters:
  component - a widget (combobox, tabbedpane, list, table, or tree) the first selected index or -1



getSelectedItem
public Object getSelectedItem(Object component)(Code)
Gets the first selected item of the given component
Parameters:
  component - a widget (combobox, tabbedpane, list, table, or tree) the first selected item or null



getSelectedItems
public Object[] getSelectedItems(Object component)(Code)
Gets the selected item of the given component (list, table, or tree) when multiple selection is allowed
Parameters:
  component - a widget the array of selected items, or a 0 length array



getString
public String getString(Object component, String key)(Code)
Gets the property value of the given component by the property key



getWidget
public Object getWidget(Object component, String key)(Code)



handleException
protected void handleException(Throwable throwable)(Code)
Overwrite this method to handle exceptions thrown by the invoked custom methods
Parameters:
  throwable - the thrown exception by the bussiness logic



isFocusTraversable
public boolean isFocusTraversable()(Code)
This component can be traversed using Tab or Shift-Tab keyboard focus traversal, although 1.4 replaced this method by isFocusable, so 1.4 compilers write deprecation warning true as focus-transverable component, overwrites the default false value



paint
public void paint(Graphics g)(Code)
Paints the components inside the graphics clip area



parse
public Object parse(String path) throws IOException(Code)
Creates a component (and its subcomponents, and properties) from the given xml resource
Parameters:
  path - is relative to your thinlet instance or the classpath(if the path starts with an / character), or a full URL the root component of the parsed resource
throws:
  java.io.IOException -



parse
public Object parse(String path, Object handler) throws IOException(Code)
Creates a component from the given xml resource using the specified event handler
Parameters:
  path - is relative to your application package or the classpath, or an URL
Parameters:
  handler - bussiness methods are implemented in this object the parsed components' root
throws:
  java.io.IOException -



parse
public Object parse(InputStream inputstream) throws IOException(Code)
Creates a component from the given stream
Parameters:
  inputstream - e.g. new URL("http://myserver/myservlet").openStream() the root component of the parsed stream
throws:
  java.io.IOException -



parse
public Object parse(InputStream inputstream, Object handler) throws IOException(Code)
Creates a component from the given stream and event handler
Parameters:
  inputstream - read xml from this stream
Parameters:
  handler - event handlers are implemented in this object the parsed components' root
throws:
  java.io.IOException -



parseDOM
protected Object parseDOM(InputStream inputstream) throws IOException(Code)
You can use the internal xml parser as a simple DOM-like parser, use the getDOMAttribute, getDOMText, getDOMCount, getDOMNode, getClass, and getParent methods to analise the document
Parameters:
  inputstream - e.g. new URL("http://myserver/myservlet").openStream() the root tag
throws:
  java.io.IOException -



parseXML
protected void parseXML(InputStream inputstream) throws IOException(Code)
You can use the internal xml parser as a simple SAX-like parser, during the process it calls the startElement, characters, and endElement methods
Parameters:
  inputstream - e.g. new URL("http://myserver/myservlet").openStream()
throws:
  java.io.IOException -



processEvent
protected void processEvent(AWTEvent e)(Code)
Dispatches mouse, key, focus, and component events occurring on the Thinlet component internally



putProperty
public void putProperty(Object component, Object key, Object value)(Code)
Binds the specified key to the specified value, and stores in this component. Null value removes the property. Use the parameter tag in the xml resource to bind a string value, the format is: parameter='key=value'
Parameters:
  component - the hashtable is binded to this component
Parameters:
  key - the client property key
Parameters:
  value - the new client property value



remove
public void remove(Object component)(Code)
Remove the specified component from its parent list, or delete component's popupmenu or table's header
Parameters:
  component - the component to be removed



removeAll
public void removeAll(Object component)(Code)
Removes all the components from this container's specified list
Parameters:
  component - the specified container



repaint
public void repaint(Object component)(Code)
Repaint the given component's area later
Parameters:
  component - a visible widget inside thinlet desktop



requestFocus
public boolean requestFocus(Object component)(Code)
Requests that both the Thinlet component, and the given widget get the input focus
Parameters:
  component - a focusable widget insidevisible and enabled parents, and tabbedpane's selected tab true, if the given component was focusable



run
public synchronized void run()(Code)
A second thread is used to repeat value change events for scrollbar or spinbox during the mouse is pressed, or to pop up tooltip



setAllI18n
public void setAllI18n(boolean val)(Code)
Sets the default behaviour of internationalization code. If set to "true", try to translate all components' "text" and "tooltip" values, unless explicitly prohibited by setting i18n="false" on a specific component. If set to "false", do not translate unless explicitly requested by setting i18n="true" on a specific component.
Default value is "false", to provide backwards compatibility.
Parameters:
  val - if "true", translate by default; if "false", do not translate by default.



setBoolean
public void setBoolean(Object component, String key, boolean value)(Code)
Sets the given property pair (key and value) for the component



setChoice
public void setChoice(Object component, String key, String value)(Code)
Sets the given property pair (key and value) for the component



setColor
public void setColor(Object component, String key, Color color)(Code)
Set custom color on a component. Notes: For "foreground" key, this sets the text color. For "background" key, on gradient-filled components (such as tabs, buttons etc) this will result in a component filled with solid background color, and not a new gradient. Also, Color.brighter() will be used for highlight, and Color.darker() will be used for pressed or not selected.
Parameters:
  component - component to use for custom color
Parameters:
  key - currently "background" and "foreground" are supported
Parameters:
  color - custom color to use, or null to reset component to use default color



setColors
public void setColors(int background, int text, int textbackground, int border, int disable, int hover, int press, int focus, int select)(Code)
Sets the 9 colors used for components, and repaints the whole UI
Parameters:
  background - the backround of panels (dialogs, desktops),and disabled controls, not editable texts, lines between list items(the default value if #e6e6e6)
Parameters:
  text - for text, arrow foreground (black by default)
Parameters:
  textbackground - the background of text components, and lists(white by default)
Parameters:
  border - for outer in inner borders of enabled components(#909090 by default)
Parameters:
  disable - for text, border, arrow color in disabled components(#b0b0b0 by default)
Parameters:
  hover - indicates that the mouse is inside a button area(#ededed by default)
Parameters:
  press - for pressed buttons,gradient image is calculated using the background and this press color(#b9b9b9 by default)
Parameters:
  focus - for text caret and rectagle color marking the focus owner(#89899a by default)
Parameters:
  select - used as the background of selected text, and list items,and in slider (#c5c5dd by default)



setFont
public void setFont(Font font)(Code)
Sets the only one font used everywhere, and revalidates the whole UI. Scrollbar width/height, spinbox, and combobox button width, and slider size is the same as the font height
Parameters:
  font - the default font is SansSerif, plain, and 12pt



setFont
public void setFont(Object component, Font font)(Code)
Set custom font on a component, use the other setFont method instead



setFont
public void setFont(Object component, String key, Font font)(Code)
Set custom font on a component
Parameters:
  component - component to use the custom font
Parameters:
  font - custom font to use, or null to reset component to use default font



setIcon
public void setIcon(Object component, String key, Image icon)(Code)
Sets the given property pair (key and value) for the component



setInteger
public void setInteger(Object component, String key, int value)(Code)
Sets the given property pair (key and value) for the component



setKeystroke
public void setKeystroke(Object component, String key, String value)(Code)



setLangResource
public void setLangResource(ResourceBundle res)(Code)
Set current language resource bundle. This flushes all cached translated values, performs lazy loading of new values, and repaints the desktop. This implementation allows applications to switch language resources on the fly, without rebuilding/reloading components that use them.
The pseudo-code is as follows:
  • if langResource and langResourceDefault are null, don't translate anything, no matter what other settings are. This behaviour provides compatibility with previous versions.
  • if only langResourceDefault is set, use this when translation is required
  • if allI18n is set to true:
    • if property "i18n" on a component is missing, or set to "true", translate
    • if property "i18n" is present, and set to "false", do not translate
  • if allI18n is set to false:
    • if property "i18n" on a component is missing, or set to "false", do not translate
    • if property "i18n" is present, and set to "true", translate
The "translate" step is applied only to values from "text" and "tooltip" properties (for now), and is applied as follows:
  • use the value of "text" or "tooltip" as a lookup key
  • use langResource to lookup the result value
    • if no value is found, use langResourceDefault for lookup
      • if no value is found, just return the original value of the property. Set a flag on component that prevents lookups in the future. This flag is cleared when langResource is changed.
  • cache the result value, if any
If translated value is found successfully, it is cached in the component. This cache is gradually flushed when setLangResource is called. Cached value is also flushed when setString() is called on a component.
Parameters:
  res - resource bundle containing localized texts for "text" and "tooltip"



setLangResourceDefault
public void setLangResourceDefault(ResourceBundle res)(Code)
Set default language resource bundle. Resources from this bundle will be used if they are missing in the current bundle.
Parameters:
  res - resource bundle containing default localized texts for "text" and "tooltip"



setMethod
public void setMethod(Object component, String key, String value, Object root, Object handler)(Code)
Sets a new event handler method for a component
Parameters:
  component - the target component
Parameters:
  key - the key name of the parameter (e.g. action)
Parameters:
  value - the method name and parameters(e.g. foo(this, this.text, mybutton, mybutton.enabled)for public void foo(Object component, String text, Object mybutton, boolean enabled))
Parameters:
  root - the search starting component for name components in the arguments
Parameters:
  handler - the target event handler object including the method
throws:
  java.lang.IllegalArgumentException -



setResourceBundle
public void setResourceBundle(ResourceBundle resourcebundle)(Code)
Set a bundle used in parse method, it replaces the parameter values starting with the 'i18n.' string with a value found in the given bundle
Parameters:
  resourcebundle - a bundle for the next parsing or null to removethe current one
throws:
  MissingResourceException - if no object for the given key can be found



setString
public void setString(Object component, String key, String value)(Code)
Sets the given property pair (key and value) for the component



startElement
protected void startElement(String name, Hashtable attributelist)(Code)
The SAX-like parser calls this method, you have to overwrite it
Parameters:
  name - of the tag
Parameters:
  attributelist - a list of attributes including keys and value pairs



update
public void update(Graphics g)(Code)
Invokes the paint method



Methods inherited from java.awt.Container
public Component add(Component comp)(Code)(Java Doc)
public Component add(String name, Component comp)(Code)(Java Doc)
public Component add(Component comp, int index)(Code)(Java Doc)
public void add(Component comp, Object constraints)(Code)(Java Doc)
public void add(Component comp, Object constraints, int index)(Code)(Java Doc)
public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc)
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public int countComponents()(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public Component findComponentAt(int x, int y)(Code)(Java Doc)
public Component findComponentAt(Point p)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Component getComponent(int n)(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentZOrder(Component comp)(Code)(Java Doc)
public Component[] getComponents()(Code)(Java Doc)
public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public LayoutManager getLayout()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Insets insets()(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isAncestorOf(Component c)(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusCycleRoot()(Code)(Java Doc)
final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc)
public boolean isFocusTraversalPolicySet()(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintComponents(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printComponents(Graphics g)(Code)(Java Doc)
protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setComponentZOrder(Component comp, int index)(Code)(Java Doc)
public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc)
final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setLayout(LayoutManager mgr)(Code)(Java Doc)
public void transferFocusDownCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)
protected void validateTree()(Code)(Java Doc)

Fields inherited from java.awt.Component
final public static float BOTTOM_ALIGNMENT(Code)(Java Doc)
final public static float CENTER_ALIGNMENT(Code)(Java Doc)
final public static float LEFT_ALIGNMENT(Code)(Java Doc)
final public static float RIGHT_ALIGNMENT(Code)(Java Doc)
final public static float TOP_ALIGNMENT(Code)(Java Doc)

Methods inherited from java.awt.Component
public boolean action(Event evt, Object what)(Code)(Java Doc)
public void add(PopupMenu popup)(Code)(Java Doc)
public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc)
public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public Rectangle bounds()(Code)(Java Doc)
public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc)
public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public boolean contains(Point p)(Code)(Java Doc)
public Image createImage(ImageProducer producer)(Code)(Java Doc)
public Image createImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
final protected void disableEvents(long eventsToDisable)(Code)(Java Doc)
final public void dispatchEvent(AWTEvent e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void enable(boolean b)(Code)(Java Doc)
final protected void enableEvents(long eventsToEnable)(Code)(Java Doc)
public void enableInputMethods(boolean enable)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc)
public ComponentOrientation getComponentOrientation()(Code)(Java Doc)
public Cursor getCursor()(Code)(Java Doc)
public synchronized DropTarget getDropTarget()(Code)(Java Doc)
public Container getFocusCycleRootAncestor()(Code)(Java Doc)
public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Color getForeground()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc)
public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc)
public boolean getIgnoreRepaint()(Code)(Java Doc)
public InputContext getInputContext()(Code)(Java Doc)
public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc)
public InputMethodRequests getInputMethodRequests()(Code)(Java Doc)
public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Point getLocation()(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
public Point getLocationOnScreen()(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc)
public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc)
public Point getMousePosition() throws HeadlessException(Code)(Java Doc)
public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Container getParent()(Code)(Java Doc)
public ComponentPeer getPeer()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc)
public Dimension getSize()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Toolkit getToolkit()(Code)(Java Doc)
final public Object getTreeLock()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public boolean gotFocus(Event evt, Object what)(Code)(Java Doc)
public boolean handleEvent(Event evt)(Code)(Java Doc)
public boolean hasFocus()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc)
public boolean inside(int x, int y)(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isBackgroundSet()(Code)(Java Doc)
public boolean isCursorSet()(Code)(Java Doc)
public boolean isDisplayable()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusOwner()(Code)(Java Doc)
public boolean isFocusTraversable()(Code)(Java Doc)
public boolean isFocusable()(Code)(Java Doc)
public boolean isFontSet()(Code)(Java Doc)
public boolean isForegroundSet()(Code)(Java Doc)
public boolean isLightweight()(Code)(Java Doc)
public boolean isMaximumSizeSet()(Code)(Java Doc)
public boolean isMinimumSizeSet()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isPreferredSizeSet()(Code)(Java Doc)
public boolean isShowing()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public boolean keyDown(Event evt, int key)(Code)(Java Doc)
public boolean keyUp(Event evt, int key)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list()(Code)(Java Doc)
public void list(PrintStream out)(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Point location()(Code)(Java Doc)
public boolean lostFocus(Event evt, Object what)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc)
public void move(int x, int y)(Code)(Java Doc)
public void nextFocus()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintAll(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public boolean postEvent(Event e)(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc)
public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
protected void processFocusEvent(FocusEvent e)(Code)(Java Doc)
protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc)
public void remove(MenuComponent popup)(Code)(Java Doc)
public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc)
public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void repaint(long tm)(Code)(Java Doc)
public void repaint(int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
protected boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
public void resize(int width, int height)(Code)(Java Doc)
public void resize(Dimension d)(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setBounds(Rectangle r)(Code)(Java Doc)
public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public void setCursor(Cursor cursor)(Code)(Java Doc)
public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc)
public void setEnabled(boolean b)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc)
public void setFocusable(boolean focusable)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setForeground(Color c)(Code)(Java Doc)
public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc)
public void setLocale(Locale l)(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
public void setLocation(Point p)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setSize(Dimension d)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public void show(boolean b)(Code)(Java Doc)
public Dimension size()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void transferFocus()(Code)(Java Doc)
public void transferFocusBackward()(Code)(Java Doc)
public void transferFocusUpCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.