Java Doc for ViewerRow.java in  » IDE-Eclipse » jface » org » eclipse » jface » viewers » 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 » IDE Eclipse » jface » org.eclipse.jface.viewers 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.jface.viewers.ViewerRow

All known Subclasses:   org.eclipse.jface.viewers.TreeViewerRow,  org.eclipse.jface.viewers.TableViewerRow,
ViewerRow
abstract public class ViewerRow implements Cloneable(Code)
ViewerRow is the abstract superclass of the part that represents items in a Table or Tree. Implementors of ColumnViewer have to provide a concrete implementation for the underlying widget
since:
   3.3


Field Summary
final public static  intABOVE
     Constant denoting the row above the current one (value is 1).
final public static  intBELOW
     Constant denoting the row below the current one (value is 2).


Method Summary
abstract public  Objectclone()
    
public  booleanequals(Object obj)
    
abstract public  ColorgetBackground(int columnIndex)
    
abstract public  RectanglegetBounds(int columnIndex)
    
abstract public  RectanglegetBounds()
     Return the bounds for the whole item.
public  ViewerCellgetCell(Point point)
     Get the ViewerCell at point.
public  ViewerCellgetCell(int column)
     Get a ViewerCell for the column at index.
 ViewerCellgetCellAtVisualIndex(int visualIndex)
     The cell at the current index (as shown in the UI).
abstract public  intgetColumnCount()
     Return the number of columns for the receiver.
public  intgetColumnIndex(Point point)
     Get the columnIndex of the point.
abstract public  ControlgetControl()
     Get the Control for the receiver.
protected  intgetCreationIndex(int visualIndex)
     Translate the current column index (as shown in the UI) to the original one.

Because of backwards API compatibility the default implementation returns the original index.

abstract public  ObjectgetElement()
    
abstract public  FontgetFont(int columnIndex)
     Get the font at the columnIndex.
abstract public  ColorgetForeground(int columnIndex)
     Get the foreground at the columnIndex.
abstract public  ImagegetImage(int columnIndex)
     Return the image at the columnIndex.
abstract public  WidgetgetItem()
     Return the item for the receiver.
abstract public  ViewerRowgetNeighbor(int direction, boolean sameLevel)
     Returns a neighboring row, or null if no neighbor exists in the given direction.
abstract public  StringgetText(int columnIndex)
     Get the text at the columnIndex.
abstract public  TreePathgetTreePath()
    
protected  intgetVisualIndex(int creationIndex)
     Translate the original column index to the actual one.

Because of backwards API compatibility the default implementation returns the original index.

public  inthashCode()
    
abstract public  voidsetBackground(int columnIndex, Color color)
     Set the background at the columnIndex.
abstract public  voidsetFont(int columnIndex, Font font)
     Set the Font at the columnIndex.
abstract public  voidsetForeground(int columnIndex, Color color)
     Set the foreground at the columnIndex.
abstract public  voidsetImage(int columnIndex, Image image)
    
abstract public  voidsetText(int columnIndex, String text)
    

Field Detail
ABOVE
final public static int ABOVE(Code)
Constant denoting the row above the current one (value is 1).
See Also:   ViewerRow.getNeighbor(int,boolean)



BELOW
final public static int BELOW(Code)
Constant denoting the row below the current one (value is 2).
See Also:   ViewerRow.getNeighbor(int,boolean)





Method Detail
clone
abstract public Object clone()(Code)



equals
public boolean equals(Object obj)(Code)



getBackground
abstract public Color getBackground(int columnIndex)(Code)
Get the background at the columnIndex,
Parameters:
  columnIndex - Color or null



getBounds
abstract public Rectangle getBounds(int columnIndex)(Code)
Get the bounds of the entry at the columnIndex,
Parameters:
  columnIndex - Rectangle



getBounds
abstract public Rectangle getBounds()(Code)
Return the bounds for the whole item. Rectangle



getCell
public ViewerCell getCell(Point point)(Code)
Get the ViewerCell at point.
Parameters:
  point - ViewerCell



getCell
public ViewerCell getCell(int column)(Code)
Get a ViewerCell for the column at index.
Parameters:
  column - ViewerCell or null if the index isnegative.



getCellAtVisualIndex
ViewerCell getCellAtVisualIndex(int visualIndex)(Code)
The cell at the current index (as shown in the UI). This can be different to the original index when columns are reordered.
Parameters:
  visualIndex - the current index (as shown in the UI) the cell at the currently visible index



getColumnCount
abstract public int getColumnCount()(Code)
Return the number of columns for the receiver. the number of columns



getColumnIndex
public int getColumnIndex(Point point)(Code)
Get the columnIndex of the point.
Parameters:
  point - int or -1 if it cannot be found.



getControl
abstract public Control getControl()(Code)
Get the Control for the receiver. Control



getCreationIndex
protected int getCreationIndex(int visualIndex)(Code)
Translate the current column index (as shown in the UI) to the original one.

Because of backwards API compatibility the default implementation returns the original index. Implementators of ColumnViewer should overwrite this method if their widget supports reordered columns


Parameters:
  visualIndex - the current index (as shown in the UI) the original index
since:
   3.4



getElement
abstract public Object getElement()(Code)
the model element



getFont
abstract public Font getFont(int columnIndex)(Code)
Get the font at the columnIndex.
Parameters:
  columnIndex - Font or null



getForeground
abstract public Color getForeground(int columnIndex)(Code)
Get the foreground at the columnIndex.
Parameters:
  columnIndex - Color or null



getImage
abstract public Image getImage(int columnIndex)(Code)
Return the image at the columnIndex.
Parameters:
  columnIndex - Image or null



getItem
abstract public Widget getItem()(Code)
Return the item for the receiver. Widget



getNeighbor
abstract public ViewerRow getNeighbor(int direction, boolean sameLevel)(Code)
Returns a neighboring row, or null if no neighbor exists in the given direction. If sameLevel is true, only sibling rows (under the same parent) will be considered.
Parameters:
  direction - the direction ViewerRow.BELOW or ViewerRow.ABOVE
Parameters:
  sameLevel - if true, search only within sibling rows the row above/below, or null if not found



getText
abstract public String getText(int columnIndex)(Code)
Get the text at the columnIndex.
Parameters:
  columnIndex - String



getTreePath
abstract public TreePath getTreePath()(Code)
The tree path used to identify an element by the unique path the path



getVisualIndex
protected int getVisualIndex(int creationIndex)(Code)
Translate the original column index to the actual one.

Because of backwards API compatibility the default implementation returns the original index. Implementators of ColumnViewer should overwrite this method if their widget supports reordered columns


Parameters:
  creationIndex - the original index the current index (as shown in the UI)
since:
   3.4



hashCode
public int hashCode()(Code)



setBackground
abstract public void setBackground(int columnIndex, Color color)(Code)
Set the background at the columnIndex.
Parameters:
  columnIndex -
Parameters:
  color -



setFont
abstract public void setFont(int columnIndex, Font font)(Code)
Set the Font at the columnIndex.
Parameters:
  columnIndex -
Parameters:
  font -



setForeground
abstract public void setForeground(int columnIndex, Color color)(Code)
Set the foreground at the columnIndex.
Parameters:
  columnIndex -
Parameters:
  color -



setImage
abstract public void setImage(int columnIndex, Image image)(Code)
Set the image at the columnIndex
Parameters:
  columnIndex -
Parameters:
  image -



setText
abstract public void setText(int columnIndex, String text)(Code)
Set the text at the columnIndex
Parameters:
  columnIndex -
Parameters:
  text -



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.