Java Doc for Gauge.java in  » 6.0-JDK-Modules » j2me » javax » microedition » lcdui » 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 » 6.0 JDK Modules » j2me » javax.microedition.lcdui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.microedition.lcdui.Item
      javax.microedition.lcdui.Gauge

Gauge
public class Gauge extends Item (Code)
Implements a graphical display, such as a bar graph, of an integer value. The Gauge contains a current value that lies between zero and the maximum value, inclusive. The application can control the current value and maximum value. The range of values specified by the application may be larger than the number of distinct visual states possible on the device, so more than one value may have the same visual representation.

For example, consider a Gauge object that has a range of values from zero to 99, running on a device that displays the Gauge's approximate value using a set of one to ten bars. The device might show one bar for values zero through nine, two bars for values ten through 19, three bars for values 20 through 29, and so forth.

A Gauge may be interactive or non-interactive. Applications may set or retrieve the Gauge's value at any time regardless of the interaction mode. The implementation may change the visual appearance of the bar graph depending on whether the object is created in interactive mode.

In interactive mode, the user is allowed to modify the value. The user will always have the means to change the value up or down by one and may also have the means to change the value in greater increments. The user is prohibited from moving the value outside the established range. The expected behavior is that the application sets the initial value and then allows the user to modify the value thereafter. However, the application is not prohibited from modifying the value even while the user is interacting with it.

In many cases the only means for the user to modify the value will be to press a button to increase or decrease the value by one unit at a time. Therefore, applications should specify a range of no more than a few dozen values.

In non-interactive mode, the user is prohibited from modifying the value. Non-interactive mode is used to provide feedback to the user on the state of a long-running operation. One expected use of the non-interactive mode is as a "progress indicator" or "activity indicator" to give the user some feedback during a long-running operation. The application may update the value periodically using the setValue() method.

A non-interactive Gauge can have a definite or indefinite range. If a Gauge has definite range, it will have an integer value between zero and the maximum value set by the application, inclusive. The implementation will provide a graphical representation of this value such as described above.

A non-interactive Gauge that has indefinite range will exist in one of four states: continuous-idle, incremental-idle, continuous-running, or incremental-updating. These states are intended to indicate to the user that some level of activity is occurring. With incremental-updating, progress can be indicated to the user even though there is no known endpoint to the activity. With continuous-running, there is no progress that gets reported to the user and there is no known endpoint; continuous-running is merely a busy state indicator. The implementation should use a graphical display that shows this appropriately. The implementation may use different graphics for indefinite continuous gauges and indefinite incremental gauges. Because of this, separate idle states exist for each mode. For example, the implementation might show an hourglass or spinning watch in the continuous-running state, but show an animation with different states, like a beach ball or candy-striped bar, in the incremental-updating state.

In the continuous-idle or incremental-idle state, the Gauge indicates that no activity is occurring. In the incremental-updating state, the Gauge indicates activity, but its graphical representation should be updated only when the application requests an update with a call to setValue(). In the continuous-running state, the Gauge indicates activity by showing an animation that runs continuously, without update requests from the application.

The values CONTINUOUS_IDLE, INCREMENTAL_IDLE, CONTINUOUS_RUNNING, and INCREMENTAL_UPDATING have their special meaning only when the Gauge is non-interactive and has been set to have indefinite range. They are treated as ordinary values if the Gauge is interactive or if it has been set to have a definite range.

An application using the Gauge as a progress indicator should typically also attach a Command.STOP STOP command to the container containing the Gauge to allow the user to halt the operation in progress.

Notes for Application Developers

As mentioned above, a non-interactive Gauge may be used to give user feedback during a long-running operation. If the application can observe the progress of the operation as it proceeds to an endpoint known in advance, then the application should use a non-interactive Gauge with a definite range. For example, consider an application that is downloading a file known to be 20 kilobytes in size. The application could set the Gauge's maximum value to be 20 and set its value to the number of kilobytes downloaded so far. The user will be presented with a Gauge that shows the portion of the task completed at any given time.

If, on the other hand, the application is downloading a file of unknown size, it should use a non-interactive Gauge with indefinite range. Ideally, the application should call setValue(INCREMENTAL_UPDATING) periodically, perhaps each time its input buffer has filled. This will give the user an indication of the rate at which progress is occurring.

Finally, if the application is performing an operation but has no means of detecting progress, it should set a non-interactive Gauge to have indefinite range and set its value to CONTINUOUS_RUNNING or CONTINUOUS_IDLE as appropriate. For example, if the application has issued a request to a network server and is about to block waiting for the server to respond, it should set the Gauge's state to CONTINUOUS_RUNNING before awaiting the response, and it should set the state to CONTINUOUS_IDLE after it has received the response.


since:
   MIDP 1.0


Field Summary
final public static  intCONTINUOUS_IDLE
     The value representing the continuous-idle state of a non-interactive Gauge with indefinite range.
final public static  intCONTINUOUS_RUNNING
     The value representing the continuous-running state of a non-interactive Gauge with indefinite range.
final public static  intINCREMENTAL_IDLE
     The value representing the incremental-idle state of a non-interactive Gauge with indefinite range.
final public static  intINCREMENTAL_UPDATING
     The value representing the incremental-updating state of a non-interactive Gauge with indefinite range.
final public static  intINDEFINITE
     A special value used for the maximum value in order to indicate that the Gauge has indefinite range.
 GaugeLFgaugeLF
     The look&feel associated with this item.
 booleaninteractive
    
 intmaxValue
    
 intvalue
    

Constructor Summary
public  Gauge(String label, boolean interactive, int maxValue, int initialValue)
     Creates a new Gauge object with the given label, in interactive or non-interactive mode, with the given maximum and initial values.

Method Summary
 booleanacceptFocus()
     Return whether the Item takes user input focus.
public  voidaddCommand(Command cmd)
     Adds a context sensitive Command to the item.
public  intgetMaxValue()
     Gets the maximum value of this Gauge object.

If this gauge is interactive, the maximum value will be a positive integer.

public  intgetValue()
     Gets the current value of this Gauge object.

If this Gauge object is a non-interactive gauge with indefinite range, the value returned will be one of CONTINUOUS_IDLE, INCREMENTAL_IDLE, CONTINUOUS_RUNNING, or INCREMENTAL_UPDATING.

public  booleanisInteractive()
     Tells whether the user is allowed to change the value of the Gauge.
public  voidsetDefaultCommand(Command cmd)
     Sets default Command for this Item.
public  voidsetItemCommandListener(ItemCommandListener l)
     Sets a listener for Commands to this Item, replacing any previous ItemCommandListener.
public  voidsetLabel(String label)
     Sets the label of the Item.
public  voidsetLayout(int layout)
     Sets the layout directives for this item.
public  voidsetMaxValue(int maxValue)
     Sets the maximum value of this Gauge object.

For interactive gauges, the new maximum value must be greater than zero, otherwise an exception is thrown.

public  voidsetPreferredSize(int width, int height)
     Sets the preferred width and height for this Item. Values for width and height less than -1 are illegal. If the width is between zero and the minimum width, inclusive, the minimum width is used instead. If the height is between zero and the minimum height, inclusive, the minimum height is used instead.

Supplying a width or height value greater than the minimum width or height locks that dimension to the supplied value.

public  voidsetValue(int value)
     Sets the current value of this Gauge object.

If the gauge is interactive, or if it is non-interactive with definite range, the following rules apply.

 voidsetValueImpl(int value)
     Sets the current value of this Gauge object.

Field Detail
CONTINUOUS_IDLE
final public static int CONTINUOUS_IDLE(Code)
The value representing the continuous-idle state of a non-interactive Gauge with indefinite range. In the continuous-idle state, the gauge shows a graphic indicating that no work is in progress.

This value has special meaning only for non-interactive gauges with indefinite range. It is treated as an ordinary value for interactive gauges and for non-interactive gauges with definite range.

The value of CONTINUOUS_IDLE is 0.




CONTINUOUS_RUNNING
final public static int CONTINUOUS_RUNNING(Code)
The value representing the continuous-running state of a non-interactive Gauge with indefinite range. In the continuous-running state, the gauge shows a continually-updating animation sequence that indicates that work is in progress. Once the application sets a gauge into the continuous-running state, the animation should proceed without further requests from the application.

This value has special meaning only for non-interactive gauges with indefinite range. It is treated as an ordinary value for interactive gauges and for non-interactive gauges with definite range.

The value of CONTINUOUS_RUNNING is 2.




INCREMENTAL_IDLE
final public static int INCREMENTAL_IDLE(Code)
The value representing the incremental-idle state of a non-interactive Gauge with indefinite range. In the incremental-idle state, the gauge shows a graphic indicating that no work is in progress.

This value has special meaning only for non-interactive gauges with indefinite range. It is treated as an ordinary value for interactive gauges and for non-interactive gauges with definite range.

The value of INCREMENTAL_IDLE is 1.




INCREMENTAL_UPDATING
final public static int INCREMENTAL_UPDATING(Code)
The value representing the incremental-updating state of a non-interactive Gauge with indefinite range. In the incremental-updating state, the gauge shows a graphic indicating that work is in progress, typically one frame of an animation sequence. The graphic should be updated to the next frame in the sequence only when the application calls setValue(INCREMENTAL_UPDATING).

This value has special meaning only for non-interactive gauges with indefinite range. It is treated as an ordinary value for interactive gauges and for non-interactive gauges with definite range.

The value of INCREMENTAL_UPDATING is 3.




INDEFINITE
final public static int INDEFINITE(Code)
A special value used for the maximum value in order to indicate that the Gauge has indefinite range. This value may be used as the maxValue parameter to the constructor, the parameter passed to setMaxValue(), and as the return value of getMaxValue().

The value of INDEFINITE is -1.




gaugeLF
GaugeLF gaugeLF(Code)
The look&feel associated with this item. Set in the constructor.



interactive
boolean interactive(Code)
Whether this gauge is interactive or not



maxValue
int maxValue(Code)
The maximum possible value of this gauge



value
int value(Code)
The current value of this gauge




Constructor Detail
Gauge
public Gauge(String label, boolean interactive, int maxValue, int initialValue)(Code)
Creates a new Gauge object with the given label, in interactive or non-interactive mode, with the given maximum and initial values. In interactive mode (where interactive is true) the maximum value must be greater than zero, otherwise an exception is thrown. In non-interactive mode (where interactive is false) the maximum value must be greater than zero or equal to the special value INDEFINITE, otherwise an exception is thrown.

If the maximum value is greater than zero, the gauge has definite range. In this case the initial value must be within the range zero to maxValue, inclusive. If the initial value is less than zero, the value is set to zero. If the initial value is greater than maxValue, it is set to maxValue.

If interactive is false and the maximum value is INDEFINITE, this creates a non-interactive gauge with indefinite range. The initial value must be one of CONTINUOUS_IDLE, INCREMENTAL_IDLE, CONTINUOUS_RUNNING, or INCREMENTAL_UPDATING.


See Also:   Gauge.INDEFINITE
See Also:   Gauge.CONTINUOUS_IDLE
See Also:   Gauge.INCREMENTAL_IDLE
See Also:   Gauge.CONTINUOUS_RUNNING
See Also:   Gauge.INCREMENTAL_UPDATING
Parameters:
  label - the Gauge's label
Parameters:
  interactive - tells whether the user can change the value
Parameters:
  maxValue - the maximum value, or INDEFINITE
Parameters:
  initialValue - the initial value in the range[0..maxValue], or one of CONTINUOUS_IDLE,INCREMENTAL_IDLE, CONTINUOUS_RUNNING,or INCREMENTAL_UPDATING if maxValue isINDEFINITE.
throws:
  IllegalArgumentException - if maxValueis not positive for interactive gauges
throws:
  IllegalArgumentException - if maxValue isneither positive norINDEFINITE for non-interactive gauges
throws:
  IllegalArgumentException - if initialValue is not one ofCONTINUOUS_IDLE, INCREMENTAL_IDLE,CONTINUOUS_RUNNING, or INCREMENTAL_UPDATINGfor a non-interactive gauge with indefinite range




Method Detail
acceptFocus
boolean acceptFocus()(Code)
Return whether the Item takes user input focus. return true if contents is interactive or haveabstract commands.



addCommand
public void addCommand(Command cmd)(Code)
Adds a context sensitive Command to the item. The semantic type of Command should be ITEM. The implementation will present the command only when the the item is active, for example, highlighted.

If the added command is already in the item (tested by comparing the object references), the method has no effect. If the item is actually visible on the display, and this call affects the set of visible commands, the implementation should update the display as soon as it is feasible to do so.

It is illegal to call this method if this Item is contained within an Alert.


Parameters:
  cmd - the command to be added
throws:
  IllegalStateException - if this Item is containedwithin an Alert
throws:
  NullPointerException - if cmd is null



getMaxValue
public int getMaxValue()(Code)
Gets the maximum value of this Gauge object.

If this gauge is interactive, the maximum value will be a positive integer. If this gauge is non-interactive, the maximum value will be a positive integer (indicating that the gauge has definite range) or the special value INDEFINITE (indicating that the gauge has indefinite range).


See Also:   Gauge.INDEFINITE the maximum value of the Gauge, orINDEFINITE
See Also:   Gauge.setMaxValue



getValue
public int getValue()(Code)
Gets the current value of this Gauge object.

If this Gauge object is a non-interactive gauge with indefinite range, the value returned will be one of CONTINUOUS_IDLE, INCREMENTAL_IDLE, CONTINUOUS_RUNNING, or INCREMENTAL_UPDATING. Otherwise, it will be an integer between zero and the gauge's maximum value, inclusive.


See Also:   Gauge.CONTINUOUS_IDLE
See Also:   Gauge.INCREMENTAL_IDLE
See Also:   Gauge.CONTINUOUS_RUNNING
See Also:   Gauge.INCREMENTAL_UPDATING current value of the Gauge
See Also:   Gauge.setValue



isInteractive
public boolean isInteractive()(Code)
Tells whether the user is allowed to change the value of the Gauge. a boolean indicating whether the Gauge isinteractive



setDefaultCommand
public void setDefaultCommand(Command cmd)(Code)
Sets default Command for this Item. If the Item previously had a default Command, that Command is no longer the default, but it remains present on the Item.

If not null, the Command object passed becomes the default Command for this Item. If the Command object passed is not currently present on this Item, it is added as if Gauge.addCommand had been called before it is made the default Command.

If null is passed, the Item is set to have no default Command. The previous default Command, if any, remains present on the Item.

It is illegal to call this method if this Item is contained within an Alert.


Parameters:
  cmd - the command to be used as this Item's defaultCommand, or null if there is to be no default command
throws:
  IllegalStateException - if this Item is containedwithin an Alert



setItemCommandListener
public void setItemCommandListener(ItemCommandListener l)(Code)
Sets a listener for Commands to this Item, replacing any previous ItemCommandListener. A null reference is allowed and has the effect of removing any existing listener.

It is illegal to call this method if this Item is contained within an Alert.


Parameters:
  l - the new listener, or null.
throws:
  IllegalStateException - if this Item is containedwithin an Alert



setLabel
public void setLabel(String label)(Code)
Sets the label of the Item. If label is null, specifies that this item has no label.

It is illegal to call this method if this Item is contained within an Alert.


Parameters:
  label - the label string
throws:
  IllegalStateException - if this Item is contained within an Alert
See Also:   Gauge.getLabel



setLayout
public void setLayout(int layout)(Code)
Sets the layout directives for this item.

It is illegal to call this method if this Item is contained within an Alert.


Parameters:
  layout - a combination of layout directive values for this item
throws:
  IllegalArgumentException - if the value of layout is not a validcombination of layout directives
throws:
  IllegalStateException - if this Item iscontained within an Alert
See Also:   Gauge.getLayout



setMaxValue
public void setMaxValue(int maxValue)(Code)
Sets the maximum value of this Gauge object.

For interactive gauges, the new maximum value must be greater than zero, otherwise an exception is thrown. For non-interactive gauges, the new maximum value must be greater than zero or equal to the special value INDEFINITE, otherwise an exception is thrown.

If the new maximum value is greater than zero, this provides the gauge with a definite range. If the gauge previously had a definite range, and if the current value is greater than new maximum value, the current value is set to be equal to the new maximum value. If the gauge previously had a definite range, and if the current value is less than or equal to the new maximum value, the current value is left unchanged.

If the new maximum value is greater than zero, and if the gauge had previously had indefinite range, this new maximum value provides it with a definite range. Its graphical representation must change accordingly, the previous state of CONTINUOUS_IDLE, INCREMENTAL_IDLE, CONTINUOUS_RUNNING, or INCREMENTAL_UPDATING is ignored, and the current value is set to zero.

If this gauge is non-interactive and the new maximum value is INDEFINITE, this gives the gauge indefinite range. If the gauge previously had a definite range, its graphical representation must change accordingly, the previous value is ignored, and the current state is set to CONTINUOUS_IDLE. If the gauge previously had an indefinite range, setting the maximum value to INDEFINITE will have no effect.


See Also:   Gauge.INDEFINITE
Parameters:
  maxValue - the new maximum value
throws:
  IllegalArgumentException - if maxValue is invalid
See Also:   Gauge.getMaxValue



setPreferredSize
public void setPreferredSize(int width, int height)(Code)
Sets the preferred width and height for this Item. Values for width and height less than -1 are illegal. If the width is between zero and the minimum width, inclusive, the minimum width is used instead. If the height is between zero and the minimum height, inclusive, the minimum height is used instead.

Supplying a width or height value greater than the minimum width or height locks that dimension to the supplied value. The implementation may silently enforce a maximum dimension for an Item based on factors such as the screen size. Supplying a value of -1 for the width or height unlocks that dimension. See Item Sizes for a complete discussion.

It is illegal to call this method if this Item is contained within an Alert.


Parameters:
  width - the value to which the width should be locked, or-1 to unlock
Parameters:
  height - the value to which the height should be locked, or -1 to unlock
throws:
  IllegalArgumentException - if width or height is less than -1
throws:
  IllegalStateException - if this Item is containedwithin an Alert
See Also:   Gauge.getPreferredHeight
See Also:   Gauge.getPreferredWidth



setValue
public void setValue(int value)(Code)
Sets the current value of this Gauge object.

If the gauge is interactive, or if it is non-interactive with definite range, the following rules apply. If the value is less than zero, zero is used. If the current value is greater than the maximum value, the current value is set to be equal to the maximum value.

If this Gauge object is a non-interactive gauge with indefinite range, then value must be one of CONTINUOUS_IDLE, INCREMENTAL_IDLE, CONTINUOUS_RUNNING, or INCREMENTAL_UPDATING. Other values will cause an exception to be thrown.


See Also:   Gauge.CONTINUOUS_IDLE
See Also:   Gauge.INCREMENTAL_IDLE
See Also:   Gauge.CONTINUOUS_RUNNING
See Also:   Gauge.INCREMENTAL_UPDATING
Parameters:
  value - the new value
throws:
  IllegalArgumentException - if value is not one ofCONTINUOUS_IDLE, INCREMENTAL_IDLE,CONTINUOUS_RUNNING, or INCREMENTAL_UPDATINGfor non-interactive gauges with indefinite range
See Also:   Gauge.getValue



setValueImpl
void setValueImpl(int value)(Code)
Sets the current value of this Gauge object.
Parameters:
  value - the new value
throws:
  IllegalArgumentException - if value is not one ofCONTINUOUS_IDLE, INCREMENTAL_IDLE,CONTINUOUS_RUNNING, or INCREMENTAL_UPDATINGfor non-interactive gauges with indefinite range



Fields inherited from javax.microedition.lcdui.Item
final public static int BUTTON(Code)(Java Doc)
final public static int HYPERLINK(Code)(Java Doc)
final public static int LAYOUT_2(Code)(Java Doc)
final public static int LAYOUT_BOTTOM(Code)(Java Doc)
final public static int LAYOUT_CENTER(Code)(Java Doc)
final public static int LAYOUT_DEFAULT(Code)(Java Doc)
final public static int LAYOUT_EXPAND(Code)(Java Doc)
final public static int LAYOUT_LEFT(Code)(Java Doc)
final public static int LAYOUT_NEWLINE_AFTER(Code)(Java Doc)
final public static int LAYOUT_NEWLINE_BEFORE(Code)(Java Doc)
final public static int LAYOUT_RIGHT(Code)(Java Doc)
final public static int LAYOUT_SHRINK(Code)(Java Doc)
final public static int LAYOUT_TOP(Code)(Java Doc)
final public static int LAYOUT_VCENTER(Code)(Java Doc)
final public static int LAYOUT_VEXPAND(Code)(Java Doc)
final public static int LAYOUT_VSHRINK(Code)(Java Doc)
final public static int PLAIN(Code)(Java Doc)
final static int VALID_LAYOUT(Code)(Java Doc)
ItemCommandListener commandListener(Code)(Java Doc)
Command commands(Code)(Java Doc)
Command defaultCommand(Code)(Java Doc)
ItemLF itemLF(Code)(Java Doc)
String label(Code)(Java Doc)
int layout(Code)(Java Doc)
int lockedHeight(Code)(Java Doc)
int lockedWidth(Code)(Java Doc)
int numCommands(Code)(Java Doc)
Screen owner(Code)(Java Doc)
int userPreferredHeight(Code)(Java Doc)
int userPreferredWidth(Code)(Java Doc)

Methods inherited from javax.microedition.lcdui.Item
boolean acceptFocus()(Code)(Java Doc)
public void addCommand(Command cmd)(Code)(Java Doc)
ItemLF getLF()(Code)(Java Doc)
public String getLabel()(Code)(Java Doc)
public int getLayout()(Code)(Java Doc)
public int getMinimumHeight()(Code)(Java Doc)
public int getMinimumWidth()(Code)(Java Doc)
public int getPreferredHeight()(Code)(Java Doc)
public int getPreferredWidth()(Code)(Java Doc)
void itemDeleted()(Code)(Java Doc)
void lSetOwner(Screen owner)(Code)(Java Doc)
void lUpdateLockedSize()(Code)(Java Doc)
public void notifyStateChanged()(Code)(Java Doc)
public void removeCommand(Command cmd)(Code)(Java Doc)
void removeCommandImpl(Command cmd)(Code)(Java Doc)
public void setDefaultCommand(Command cmd)(Code)(Java Doc)
public void setItemCommandListener(ItemCommandListener l)(Code)(Java Doc)
public void setLabel(String label)(Code)(Java Doc)
public void setLayout(int layout)(Code)(Java Doc)
void setLayoutImpl(int layout)(Code)(Java Doc)
public void setPreferredSize(int width, int height)(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(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.