Java Doc for RangeQueryBinding.java in  » Database-Client » prefuse » prefuse » data » query » 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 » Database Client » prefuse » prefuse.data.query 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   prefuse.data.query.DynamicQueryBinding
      prefuse.data.query.RangeQueryBinding

RangeQueryBinding
public class RangeQueryBinding extends DynamicQueryBinding (Code)
DynamicQueryBinding supporting queries based on a range of included data values.
author:
   jeffrey heer



Constructor Summary
public  RangeQueryBinding(TupleSet ts, String field)
     Create a new RangeQueryBinding over the given set and data field.
public  RangeQueryBinding(TupleSet ts, String field, boolean forceOrdinal)
     Create a new RangeQueryBinding over the given set and data field, optionally forcing an ordinal treatment of data.
Parameters:
  ts - the TupleSet to query
Parameters:
  field - the data field (Table column) to query
Parameters:
  forceOrdinal - if true, forces all items in the range to betreated in strictly ordinal fashion.

Method Summary
public  JComponentcreateComponent()
     Create a new horizontal range slider for interacting with the query.
public  JRangeSlidercreateHorizontalRangeSlider()
     Create a new horizontal range slider for interacting with the query.
public  JRangeSlidercreateRangeSlider(int orientation, int direction)
     Create a new range slider for interacting with the query, using the given orientation and direction.
public  JSlidercreateSlider()
     Create a new regular (non-range) slider for interacting with the query.
public  JRangeSlidercreateVerticalRangeSlider()
     Create a new vertical range slider for interacting with the query.
public  ValuedRangeModelgetModel()
     Return the ValuedRangeModel constructed by this dynamic query binding.
public  NumberRangeModelgetNumberModel()
     Attempts to return the ValuedRangeModel for this binding as a NumberRangeModel.
public  ObjectRangeModelgetObjectModel()
     Attempts to return the ValuedRangeModel for this binding as an ObjectRangeModel.
public  voidinitModel()
    


Constructor Detail
RangeQueryBinding
public RangeQueryBinding(TupleSet ts, String field)(Code)
Create a new RangeQueryBinding over the given set and data field.
Parameters:
  ts - the TupleSet to query
Parameters:
  field - the data field (Table column) to query



RangeQueryBinding
public RangeQueryBinding(TupleSet ts, String field, boolean forceOrdinal)(Code)
Create a new RangeQueryBinding over the given set and data field, optionally forcing an ordinal treatment of data.
Parameters:
  ts - the TupleSet to query
Parameters:
  field - the data field (Table column) to query
Parameters:
  forceOrdinal - if true, forces all items in the range to betreated in strictly ordinal fashion. That means that if the datais numerical, the quantitative nature of the data will be ignoredand only the relative ordering of the numbers will matter. In termsof mechanism, this entails that a ObjectRangeModel and nota NumberRangeModel will be used to represent the data. Ifthe argument is false, default inference mechanisms will be used.




Method Detail
createComponent
public JComponent createComponent()(Code)
Create a new horizontal range slider for interacting with the query. a prefuse.util.ui.JRangeSlider bound to this dynamicquery.
See Also:   prefuse.data.query.DynamicQueryBinding.createComponent



createHorizontalRangeSlider
public JRangeSlider createHorizontalRangeSlider()(Code)
Create a new horizontal range slider for interacting with the query. a prefuse.util.ui.JRangeSlider bound to this dynamicquery.



createRangeSlider
public JRangeSlider createRangeSlider(int orientation, int direction)(Code)
Create a new range slider for interacting with the query, using the given orientation and direction.
Parameters:
  orientation - the orientation (horizontal or vertical) of theslider (see prefuse.util.ui.JRangeSlider)
Parameters:
  direction - the direction (direction of data values) of the slider (see prefuse.util.ui.JRangeSlider) a prefuse.util.ui.JRangeSlider bound to this dynamicquery.



createSlider
public JSlider createSlider()(Code)
Create a new regular (non-range) slider for interacting with the query. This allows you to select a single value at a time. a javax.swing.JSlider bound to this dynamic query.



createVerticalRangeSlider
public JRangeSlider createVerticalRangeSlider()(Code)
Create a new vertical range slider for interacting with the query. a prefuse.util.ui.JRangeSlider bound to this dynamicquery.



getModel
public ValuedRangeModel getModel()(Code)
Return the ValuedRangeModel constructed by this dynamic query binding. This model backs any user interface components generated by this instance. the ValuedRangeModel for this range query binding.



getNumberModel
public NumberRangeModel getNumberModel()(Code)
Attempts to return the ValuedRangeModel for this binding as a NumberRangeModel. If the range model is not an instance of NumberRangeModel , a null value is returned. the ValuedRangeModel for this binding as a NumberRangeModel, or null if the range is not numerical.



getObjectModel
public ObjectRangeModel getObjectModel()(Code)
Attempts to return the ValuedRangeModel for this binding as an ObjectRangeModel. If the range model is not an instance of ObjectRangeModel , a null value is returned. the ValuedRangeModel for this binding as anObjectRangeModel, or null if the range is numerical.



initModel
public void initModel()(Code)



Fields inherited from prefuse.data.query.DynamicQueryBinding
protected String m_field(Code)(Java Doc)
protected Predicate m_query(Code)(Java Doc)
protected TupleSet m_tuples(Code)(Java Doc)

Methods inherited from prefuse.data.query.DynamicQueryBinding
abstract public JComponent createComponent()(Code)(Java Doc)
public Predicate getPredicate()(Code)(Java Doc)
protected void setPredicate(Predicate p)(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.