Java Doc for WingTable.java in  » Web-Framework » wingS » com » javujavu » javux » wings » 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 » Web Framework » wingS » com.javujavu.javux.wings 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.javujavu.javux.wings.WingComponent
   com.javujavu.javux.wings.WingTable

WingTable
public class WingTable extends WingComponent implements ItemSelectable,ItemOwner(Code)
This class displays items organized into a table with rows and columns

This class is thread safe.


Field Summary
final public static  intHEIGHT_OF_ALL_CELLS
    
final public static  intHEIGHT_OF_FIRST_ROW
    
final public static  intHEIGHT_OF_FONT
    
protected  Colorhgrid
    
protected  ItemStylesitemStyles
    
protected  StylestHeader
    
protected  StylestHeaderDisabled
    
protected  Colorvgrid
    

Constructor Summary
public  WingTable()
    
public  WingTable(DefaultTableModel model)
    

Method Summary
public  voidaddColumn(Object title)
    
public synchronized  voidaddColumn(Object title, int width, int alignment, ItemRenderer renderer, ItemEditor editor)
    
public  voidaddRow(Object row)
    
public  voidchangeSelection(int row, int col, boolean toggle, boolean extend)
    
public synchronized  voidclearSelection()
    
public synchronized  intcolumnAtPoint(int x, int y)
    
public synchronized  voidcommitEdit(Object value)
    
public  voidcopy()
    
public synchronized  voiddoLayout()
    
public  WingComponenteditCellAt(int row, int col)
    
public  RectanglegetCellRect(int rowIndex, int columnIndex)
    
public  ItemRenderergetCellRenderer()
    
public  intgetColumnCount()
    
public synchronized  intgetColumnWidth(int index)
    
public synchronized  DimensiongetPreferredSize()
    
public synchronized  ObjectgetRow(int rowIndex)
    
public synchronized  intgetRowCount()
    
public  voidgetScrollIncrements(Point unit, Point block)
    
public synchronized  intgetSelectedColumn()
    
public synchronized  intgetSelectedColumnCount()
    
public synchronized  Object[]getSelectedObjects()
    
public synchronized  intgetSelectedRow()
    
public synchronized  intgetSelectedRowCount()
    
public synchronized  ObjectgetTooltipAt(int x, int y)
    
public synchronized  ObjectgetValueAt(int rowIndex, int columnIndex)
    
public synchronized  intindexOfRow(Object row)
    
public synchronized  voidinsertRow(int rowIndex, Object row)
    
public  voidinvalidate()
    
public synchronized  booleanisCellSelected(int row, int col)
    
public  voidloadSkin()
    
protected  voidprocessFocusEvent(FocusEvent e)
    
public synchronized  voidremoveAllRows()
    
public synchronized  voidremoveEditor()
    
public synchronized  voidremoveRow(int rowIndex)
    
public synchronized  voidremoveRow(Object row)
    
public synchronized  introwAtPoint(int x, int y)
    
public synchronized  voidselectAll()
    
public  voidsetCellRenderer(ItemRenderer cellRenderer)
    
public synchronized  voidsetCellSelectionEnabled(boolean enableCellSelection)
    
public synchronized  voidsetColumnAlignment(int alignment, int index)
    
public synchronized  voidsetColumnCount(int columnCount)
    
public synchronized  voidsetColumnEditor(ItemEditor editor, int index)
    
public synchronized  voidsetColumnRenderer(ItemRenderer renderer, int index)
    
public synchronized  voidsetColumnTitle(Object title, int index)
    
public synchronized  voidsetColumnWidth(int width, int index)
    
public  voidsetEditable(boolean editable)
    
public  voidsetEditor(ItemEditor editor)
    
public synchronized  voidsetHeaderHeight(int height)
    
public synchronized  voidsetRow(Object row, int rowIndex)
    
public synchronized  voidsetRowHeight(int height)
    
public synchronized  voidsetSelectionMode(int mode)
    
public  voidsetValueAt(Object aValue, int rowIndex, int columnIndex)
    
public synchronized  voidwingPaint(Graphics g)
    
protected  voidwingProcessKeyEvent(KeyEvent e, WingComponent redirecting)
    
protected  voidwingProcessMouseEvent(MouseEvent e)
    

Field Detail
HEIGHT_OF_ALL_CELLS
final public static int HEIGHT_OF_ALL_CELLS(Code)



HEIGHT_OF_FIRST_ROW
final public static int HEIGHT_OF_FIRST_ROW(Code)



HEIGHT_OF_FONT
final public static int HEIGHT_OF_FONT(Code)



hgrid
protected Color hgrid(Code)



itemStyles
protected ItemStyles itemStyles(Code)



stHeader
protected Style stHeader(Code)



stHeaderDisabled
protected Style stHeaderDisabled(Code)



vgrid
protected Color vgrid(Code)




Constructor Detail
WingTable
public WingTable()(Code)



WingTable
public WingTable(DefaultTableModel model)(Code)




Method Detail
addColumn
public void addColumn(Object title)(Code)



addColumn
public synchronized void addColumn(Object title, int width, int alignment, ItemRenderer renderer, ItemEditor editor)(Code)



addRow
public void addRow(Object row)(Code)



changeSelection
public void changeSelection(int row, int col, boolean toggle, boolean extend)(Code)



clearSelection
public synchronized void clearSelection()(Code)



columnAtPoint
public synchronized int columnAtPoint(int x, int y)(Code)



commitEdit
public synchronized void commitEdit(Object value)(Code)



copy
public void copy()(Code)



doLayout
public synchronized void doLayout()(Code)



editCellAt
public WingComponent editCellAt(int row, int col)(Code)


This method acquire TreeLock



getCellRect
public Rectangle getCellRect(int rowIndex, int columnIndex)(Code)


This method acquire TreeLock



getCellRenderer
public ItemRenderer getCellRenderer()(Code)



getColumnCount
public int getColumnCount()(Code)



getColumnWidth
public synchronized int getColumnWidth(int index)(Code)



getPreferredSize
public synchronized Dimension getPreferredSize()(Code)



getRow
public synchronized Object getRow(int rowIndex)(Code)



getRowCount
public synchronized int getRowCount()(Code)



getScrollIncrements
public void getScrollIncrements(Point unit, Point block)(Code)



getSelectedColumn
public synchronized int getSelectedColumn()(Code)



getSelectedColumnCount
public synchronized int getSelectedColumnCount()(Code)



getSelectedObjects
public synchronized Object[] getSelectedObjects()(Code)



getSelectedRow
public synchronized int getSelectedRow()(Code)



getSelectedRowCount
public synchronized int getSelectedRowCount()(Code)



getTooltipAt
public synchronized Object getTooltipAt(int x, int y)(Code)



getValueAt
public synchronized Object getValueAt(int rowIndex, int columnIndex)(Code)



indexOfRow
public synchronized int indexOfRow(Object row)(Code)



insertRow
public synchronized void insertRow(int rowIndex, Object row)(Code)



invalidate
public void invalidate()(Code)


This method acquire TreeLock



isCellSelected
public synchronized boolean isCellSelected(int row, int col)(Code)



loadSkin
public void loadSkin()(Code)



processFocusEvent
protected void processFocusEvent(FocusEvent e)(Code)



removeAllRows
public synchronized void removeAllRows()(Code)



removeEditor
public synchronized void removeEditor()(Code)



removeRow
public synchronized void removeRow(int rowIndex)(Code)



removeRow
public synchronized void removeRow(Object row)(Code)



rowAtPoint
public synchronized int rowAtPoint(int x, int y)(Code)



selectAll
public synchronized void selectAll()(Code)



setCellRenderer
public void setCellRenderer(ItemRenderer cellRenderer)(Code)



setCellSelectionEnabled
public synchronized void setCellSelectionEnabled(boolean enableCellSelection)(Code)



setColumnAlignment
public synchronized void setColumnAlignment(int alignment, int index)(Code)



setColumnCount
public synchronized void setColumnCount(int columnCount)(Code)



setColumnEditor
public synchronized void setColumnEditor(ItemEditor editor, int index)(Code)



setColumnRenderer
public synchronized void setColumnRenderer(ItemRenderer renderer, int index)(Code)



setColumnTitle
public synchronized void setColumnTitle(Object title, int index)(Code)



setColumnWidth
public synchronized void setColumnWidth(int width, int index)(Code)



setEditable
public void setEditable(boolean editable)(Code)



setEditor
public void setEditor(ItemEditor editor)(Code)



setHeaderHeight
public synchronized void setHeaderHeight(int height)(Code)

Parameters:
  height -
  • 0 - no header
  • -1 - default, calculate dynamically



  • setRow
    public synchronized void setRow(Object row, int rowIndex)(Code)



    setRowHeight
    public synchronized void setRowHeight(int height)(Code)



    setSelectionMode
    public synchronized void setSelectionMode(int mode)(Code)



    setValueAt
    public void setValueAt(Object aValue, int rowIndex, int columnIndex)(Code)



    wingPaint
    public synchronized void wingPaint(Graphics g)(Code)



    wingProcessKeyEvent
    protected void wingProcessKeyEvent(KeyEvent e, WingComponent redirecting)(Code)



    wingProcessMouseEvent
    protected void wingProcessMouseEvent(MouseEvent e)(Code)



    Fields inherited from com.javujavu.javux.wings.WingComponent
    final public static int POET_EVENT(Code)(Java Doc)
    final public static int WINGSKIN_VERSION(Code)(Java Doc)
    final public static String WINGS_VERSION(Code)(Java Doc)
    protected ActionListener actionListener(Code)(Java Doc)
    protected static int debugDelay(Code)(Java Doc)
    protected static ItemRenderer defaultRenderer(Code)(Java Doc)
    protected static boolean doubleBuffering(Code)(Java Doc)
    protected static Thread eventThread(Code)(Java Doc)
    protected static boolean heavyPopups(Code)(Java Doc)
    protected ItemListener itemListener(Code)(Java Doc)
    protected static boolean lightPopups(Code)(Java Doc)
    protected static WingComponent mrRoot(Code)(Java Doc)
    final protected static Vector oetEvents(Code)(Java Doc)
    protected static boolean oetNoQueue(Code)(Java Doc)
    final protected static Vector oetTargets(Code)(Java Doc)
    protected WingComponent popupOwner(Code)(Java Doc)
    protected ItemRenderer renderer(Code)(Java Doc)
    protected Vector shortcuts(Code)(Java Doc)
    protected Style stDisabled(Code)(Java Doc)
    protected Style stNormal(Code)(Java Doc)
    protected Style stTop(Code)(Java Doc)
    protected String styleId(Code)(Java Doc)
    final protected static WingTimer tipStartTimer(Code)(Java Doc)
    final protected static WingTimer tipStopTimer(Code)(Java Doc)
    protected Object tooltip(Code)(Java Doc)
    protected boolean wingFocusable(Code)(Java Doc)
    protected Dimension wingPrefSize(Code)(Java Doc)
    protected boolean wingPrefSizeSet(Code)(Java Doc)
    protected int wingValid(Code)(Java Doc)

    Methods inherited from com.javujavu.javux.wings.WingComponent
    public void addActionListener(ActionListener l)(Code)(Java Doc)
    public void addItemListener(ItemListener l)(Code)(Java Doc)
    public void addNotify()(Code)(Java Doc)
    public void addShortcut(Shortcut s)(Code)(Java Doc)
    public void addShortcuts(WingComponent source)(Code)(Java Doc)
    protected void cancelPopup(WingComponent src)(Code)(Java Doc)
    protected static void clrPopup(WingComponent popup)(Code)(Java Doc)
    protected void dispatchEventOET(AWTEvent e)(Code)(Java Doc)
    protected boolean dispatchEventsOET()(Code)(Java Doc)
    protected void dispatchShortcuts(KeyEvent e)(Code)(Java Doc)
    protected void doScrollRectToVisible(Rectangle r)(Code)(Java Doc)
    public static void enablePopups(boolean enableLightweightPopups, boolean enableHeavyweightPopups)(Code)(Java Doc)
    public Color getBackground()(Code)(Java Doc)
    public String getClipboardText()(Code)(Java Doc)
    public Font getFont()(Code)(Java Doc)
    public Color getForeground()(Code)(Java Doc)
    public Dimension getMinimumSize()(Code)(Java Doc)
    public Frame getParentFrame()(Code)(Java Doc)
    public Dimension getPreferredSize()(Code)(Java Doc)
    public ItemRenderer getRenderer()(Code)(Java Doc)
    public WingRootPane getRootPane()(Code)(Java Doc)
    public void getScrollIncrements(Point unit, Point block)(Code)(Java Doc)
    public Style getStyle()(Code)(Java Doc)
    public Object getTooltipAt(int x, int y)(Code)(Java Doc)
    public Dimension getViewOrSize()(Code)(Java Doc)
    public Dimension getViewSize()(Code)(Java Doc)
    protected Dimension getViewSize(WingComponent child)(Code)(Java Doc)
    public WingFont getWingFont()(Code)(Java Doc)
    protected void hideTooltip()(Code)(Java Doc)
    public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc)
    public void invalidate()(Code)(Java Doc)
    public boolean isFocusTraversable()(Code)(Java Doc)
    public void loadSkin()(Code)(Java Doc)
    public void mouseWheelMoved(Object source, int wheelRotation)(Code)(Java Doc)
    public void paint(Graphics g)(Code)(Java Doc)
    public void paintBackground(Graphics g)(Code)(Java Doc)
    public void paintComponent(Graphics g)(Code)(Java Doc)
    public void postOnEventThread(AWTEvent e)(Code)(Java Doc)
    protected void processEvent(AWTEvent 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)
    public void removeActionListener(ActionListener l)(Code)(Java Doc)
    public void removeItemListener(ItemListener l)(Code)(Java Doc)
    public void removeShortcut(Shortcut s)(Code)(Java Doc)
    public void removeShortcuts(WingComponent source)(Code)(Java Doc)
    public void repaintVisible()(Code)(Java Doc)
    public boolean repaintVisible(int x, int y, int width, int height)(Code)(Java Doc)
    public void revalidateAndRepaint()(Code)(Java Doc)
    public void scrollRectToVisible(Rectangle r)(Code)(Java Doc)
    public void setClipboardText(String text)(Code)(Java Doc)
    public static void setDebugDelay(int debugDelay)(Code)(Java Doc)
    public static void setDoubleBuffering(boolean doubleBuffering)(Code)(Java Doc)
    public void setEnabled(boolean b)(Code)(Java Doc)
    protected static void setPopup(WingComponent popup)(Code)(Java Doc)
    public void setPreferredSize(Dimension prefSize)(Code)(Java Doc)
    public void setRenderer(ItemRenderer renderer)(Code)(Java Doc)
    public void setStyleId(String styleId)(Code)(Java Doc)
    public void setTooltip(Object tooltip)(Code)(Java Doc)
    public void setTopStyle(Style topStyle)(Code)(Java Doc)
    public void setWingFocusable(boolean focusable)(Code)(Java Doc)
    protected void showTooltip(Point point)(Code)(Java Doc)
    public void update(Graphics g)(Code)(Java Doc)
    protected void updateShortcuts(WingComponent target, boolean add)(Code)(Java Doc)
    public static void updateSkin(Container c)(Code)(Java Doc)
    protected void validateTree()(Code)(Java Doc)
    public void wingHierarchyChanged(boolean showing)(Code)(Java Doc)
    public void wingPaint(Graphics g)(Code)(Java Doc)
    protected void wingProcessActionEvent(ActionEvent e)(Code)(Java Doc)
    protected void wingProcessItemEvent(ItemEvent e)(Code)(Java Doc)
    protected void wingProcessKeyEvent(KeyEvent e, WingComponent redirecting)(Code)(Java Doc)
    protected void wingProcessMouseEvent(MouseEvent e)(Code)(Java Doc)
    public void wingRequestFocusInWindow()(Code)(Java Doc)
    protected void wingValidate()(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.