[jira] [Commented] (PIVOT-1031) Create a new "gauge" object which can display a single value in a circular "speedometer" fashion
[ https://issues.apache.org/jira/browse/PIVOT-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16375223#comment-16375223 ] Roger Whitcomb commented on PIVOT-1031: --- Add/update Javadoc. Fix some of the paint logic if the min/max or current values haven't been set in the component. Set more of the colors by default in the skin constructor, and then remove those defaults from the sample code: {code:java} Sending tests/src/org/apache/pivot/tests/gauge_test.bxml Sending wtk/src/org/apache/pivot/wtk/Gauge.java Sending wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraGaugeSkin.java Transmitting file data ... Committed revision 1825187. {code} > Create a new "gauge" object which can display a single value in a circular > "speedometer" fashion > > > Key: PIVOT-1031 > URL: https://issues.apache.org/jira/browse/PIVOT-1031 > Project: Pivot > Issue Type: New Feature > Components: wtk, wtk-terra >Reporter: Roger Whitcomb >Assignee: Roger Whitcomb >Priority: Minor > Attachments: gauge_demo.png, gauge_example.png > > > For instance, in a monitoring application, things like CPU or disk usage can > nicely be displayed as a circular gauge, showing a single (the "current") > value. This paradigm is currently being used in such products as Apache > Ambari (where it is called a "Gauge" widget). -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (PIVOT-1031) Create a new "gauge" object which can display a single value in a circular "speedometer" fashion
[ https://issues.apache.org/jira/browse/PIVOT-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16375006#comment-16375006 ] Roger Whitcomb commented on PIVOT-1031: --- "gauge_demo.png" is a screenshot from the "tests/src/org/apache/pivot/tests/GaugeTest.java" test/demo program. > Create a new "gauge" object which can display a single value in a circular > "speedometer" fashion > > > Key: PIVOT-1031 > URL: https://issues.apache.org/jira/browse/PIVOT-1031 > Project: Pivot > Issue Type: New Feature > Components: wtk, wtk-terra >Reporter: Roger Whitcomb >Assignee: Roger Whitcomb >Priority: Minor > Attachments: gauge_demo.png, gauge_example.png > > > For instance, in a monitoring application, things like CPU or disk usage can > nicely be displayed as a circular gauge, showing a single (the "current") > value. This paradigm is currently being used in such products as Apache > Ambari (where it is called a "Gauge" widget). -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (PIVOT-1031) Create a new "gauge" object which can display a single value in a circular "speedometer" fashion
[ https://issues.apache.org/jira/browse/PIVOT-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roger Whitcomb updated PIVOT-1031: -- Attachment: gauge_demo.png > Create a new "gauge" object which can display a single value in a circular > "speedometer" fashion > > > Key: PIVOT-1031 > URL: https://issues.apache.org/jira/browse/PIVOT-1031 > Project: Pivot > Issue Type: New Feature > Components: wtk, wtk-terra >Reporter: Roger Whitcomb >Assignee: Roger Whitcomb >Priority: Minor > Attachments: gauge_demo.png, gauge_example.png > > > For instance, in a monitoring application, things like CPU or disk usage can > nicely be displayed as a circular gauge, showing a single (the "current") > value. This paradigm is currently being used in such products as Apache > Ambari (where it is called a "Gauge" widget). -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (PIVOT-1031) Create a new "gauge" object which can display a single value in a circular "speedometer" fashion
[ https://issues.apache.org/jira/browse/PIVOT-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16374993#comment-16374993 ] Roger Whitcomb commented on PIVOT-1031: --- Pretty complete implementation, with tests: Sending core\src\org\apache\pivot\util\StringUtils.java Sending core\src\org\apache\pivot\util\Utils.java Adding tests\src\org\apache\pivot\tests\GaugeTest.java Adding tests\src\org\apache\pivot\tests\gauge_test.bxml Adding wtk\src\org\apache\pivot\wtk\Gauge.java Adding wtk\src\org\apache\pivot\wtk\GaugeListener.java Adding wtk\src\org\apache\pivot\wtk\Origin.java Adding wtk\test\org\apache\pivot\wtk\test\GaugeTest.java Adding wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraGaugeSkin.java Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraTheme.java Transmitting file data ..done Committing transaction... Committed revision 1825172. > Create a new "gauge" object which can display a single value in a circular > "speedometer" fashion > > > Key: PIVOT-1031 > URL: https://issues.apache.org/jira/browse/PIVOT-1031 > Project: Pivot > Issue Type: New Feature > Components: wtk, wtk-terra >Reporter: Roger Whitcomb >Assignee: Roger Whitcomb >Priority: Minor > Attachments: gauge_example.png > > > For instance, in a monitoring application, things like CPU or disk usage can > nicely be displayed as a circular gauge, showing a single (the "current") > value. This paradigm is currently being used in such products as Apache > Ambari (where it is called a "Gauge" widget). -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (PIVOT-1031) Create a new "gauge" object which can display a single value in a circular "speedometer" fashion
[ https://issues.apache.org/jira/browse/PIVOT-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roger Whitcomb updated PIVOT-1031: -- Attachment: gauge_example.png > Create a new "gauge" object which can display a single value in a circular > "speedometer" fashion > > > Key: PIVOT-1031 > URL: https://issues.apache.org/jira/browse/PIVOT-1031 > Project: Pivot > Issue Type: New Feature > Components: wtk, wtk-terra >Reporter: Roger Whitcomb >Assignee: Roger Whitcomb >Priority: Minor > Attachments: gauge_example.png > > > For instance, in a monitoring application, things like CPU or disk usage can > nicely be displayed as a circular gauge, showing a single (the "current") > value. This paradigm is currently being used in such products as Apache > Ambari (where it is called a "Gauge" widget). -- This message was sent by Atlassian JIRA (v7.6.3#76005)