Java Doc for Sheet.java in  » Collaboration » poi-3.0.2-beta2 » org » apache » poi » hssf » model » 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 » Collaboration » poi 3.0.2 beta2 » org.apache.poi.hssf.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.poi.hssf.model.Sheet

Sheet
public class Sheet implements Model(Code)
Low level model implementation of a Sheet (one workbook contains many sheets) This file contains the low level binary records starting at the sheets BOF and ending with the sheets EOF. Use HSSFSheet for a high level representation.

The structures of the highlevel API use references to this to perform most of their operations. Its probably unwise to use these low level structures directly unless you really know what you're doing. I recommend you read the Microsoft Excel 97 Developer's Kit (Microsoft Press) and the documentation at http://sc.openoffice.org/excelfileformat.pdf before even attempting to use this.


author:
   Andrew C. Oliver (acoliver at apache dot org)
author:
   Glen Stampoultzis (glens at apache.org)
author:
   Shawn Laubach (slaubach at apache dot org) Gridlines, Headers, Footers, PrintSetup, and Setting Default Column Styles
author:
   Jason Height (jheight at chariot dot net dot au) Clone support. DBCell & Index Record writing support
author:
   Brian Sanders (kestrel at burdell dot org) Active Cell support
author:
   Jean-Pierre Paris (jean-pierre.paris at m4x dot org) (Just a little)
See Also:   org.apache.poi.hssf.model.Workbook
See Also:   org.apache.poi.hssf.usermodel.HSSFSheet
version:
   1.0-pre



Field Summary
final public static  shortBottomMargin
    
final public static  shortLeftMargin
    
final public static  bytePANE_LOWER_LEFT
    
final public static  bytePANE_LOWER_RIGHT
    
final public static  bytePANE_UPPER_LEFT
    
final public static  bytePANE_UPPER_RIGHT
    
final public static  shortRightMargin
    
final public static  shortTopMargin
    
protected  ValueRecordsAggregatecells
    
protected  PageBreakRecordcolBreaks
    
protected  ColumnInfoRecordsAggregatecolumns
    
protected  DefaultColWidthRecorddefaultcolwidth
    
protected  DefaultRowHeightRecorddefaultrowheight
    
protected  DimensionsRecorddims
    
protected  intdimsloc
    
protected  inteofLoc
    
protected  FooterRecordfooter
    
protected  GridsetRecordgridset
    
protected  HeaderRecordheader
    
 intloc
    
protected  Margin[]margins
    
protected  MergeCellsRecordmerged
    
protected  ListmergedRecords
    
protected  intnumMergedRegions
    
protected  ObjectProtectRecordobjprotect
    
protected  PasswordRecordpassword
    
 intpreoffset
    
protected  PrintGridlinesRecordprintGridlines
    
protected  PrintSetupRecordprintSetup
    
protected  ProtectRecordprotect
    
protected  ArrayListrecords
    
protected  PageBreakRecordrowBreaks
    
protected  RowRecordsAggregaterows
    
protected  ScenarioProtectRecordscenprotect
    
protected  SelectionRecordselection
    
protected  WindowTwoRecordwindowTwo
    

Constructor Summary
public  Sheet()
    

Method Summary
public  intaddMergedRegion(int rowFrom, short colFrom, int rowTo, short colTo)
    
public  voidaddRow(RowRecord row)
     Adds a row record to the sheet

This method is "loc" sensitive.

public  voidaddValueRecord(int row, CellValueRecordInterface col)
     Adds a value record to the sheet's contained binary records (i.e.
public  intaggregateDrawingRecords(DrawingManager2 drawingManager)
    
public  voidcheckDimsLoc(Record rec, int recloc)
    
public  SheetcloneSheet()
     Clones the low level records of this sheet and returns the new sheet instance. This method is implemented by adding methods for deep cloning to all records that can be added to a sheet.
protected  RecordcreateBOF()
    
public  BlankRecordcreateBlank(int row, short col)
    
protected  RecordcreateCalcCount()
    
protected  RecordcreateCalcMode()
    
protected  RecordcreateColInfo()
    
protected  RecordcreateDefaultColWidth()
    
protected  RecordcreateDefaultRowHeight()
    
protected  RecordcreateDelta()
    
protected  RecordcreateDimensions()
    
protected  RecordcreateEOF()
    
protected  RecordcreateFooter()
    
public  FormulaRecordcreateFormula(int row, short col, String formula)
     Attempts to parse the formula into PTGs and create a formula record DOES NOT WORK YET
Parameters:
  row - - the row for the formula record
Parameters:
  col - - the column of the formula record
Parameters:
  formula - - a String representing the formula.
public  voidcreateFreezePane(int colSplit, int rowSplit, int topRow, int leftmostColumn)
     Creates a split (freezepane).
protected  RecordcreateGridset()
    
protected  RecordcreateGuts()
    
protected  RecordcreateHCenter()
    
protected  RecordcreateHeader()
    
protected  RecordcreateIndex()
    
protected  RecordcreateIteration()
    
public  LabelSSTRecordcreateLabelSST(int row, short col, int index)
    
protected  RecordcreateMergedCells()
    
public  NumberRecordcreateNumber(int row, short col, double value)
    
protected  ObjectProtectRecordcreateObjectProtect()
     creates an ObjectProtect record with protect set to false.
protected  PasswordRecordcreatePassword()
     creates a Password record with password set to 00.
protected  RecordcreatePrintGridlines()
     creates the PrintGridlines record and sets it to false (that makes for ugly sheets).
protected  RecordcreatePrintHeaders()
    
protected  RecordcreatePrintSetup()
    
protected  RecordcreateProtect()
     creates a Protect record with protect set to false.
protected  RecordcreateRefMode()
    
public  RowRecordcreateRow(int row)
     Create a row record.
protected  RecordcreateSaveRecalc()
    
protected  ScenarioProtectRecordcreateScenarioProtect()
     creates a ScenarioProtect record with protect set to false.
protected  RecordcreateSelection()
    
public static  SheetcreateSheet(List recs, int sheetnum, int offset)
     read support (offset used as starting point for search) for low level API.
public static  SheetcreateSheet(List records, int sheetnum)
     read support (offset = 0) Same as createSheet(Record[] recs, int, int) only the record offset is assumed to be 0.
public static  SheetcreateSheet()
     Creates a sheet with all the usual records minus values and the "index" record (not required).
public  voidcreateSplitPane(int xSplitPos, int ySplitPos, int topRow, int leftmostColumn, int activePane)
     Creates a split pane.
protected  RecordcreateVCenter()
    
protected  RecordcreateWSBool()
    
protected  WindowTwoRecordcreateWindowTwo()
    
public  RecordfindFirstRecordBySid(short sid)
     Returns the first occurance of a record matching a particular sid.
public  intfindFirstRecordLocBySid(short sid)
     Finds the first occurance of a record matching a particular sid and returns it's position.
public  shortgetActiveCellCol()
    
public  intgetActiveCellRow()
    
public  IteratorgetColumnBreaks()
    
public  shortgetColumnWidth(short column)
    
public  shortgetDefaultColumnWidth()
    
public  shortgetDefaultRowHeight()
    
public  intgetDimsLoc()
    
public  intgetEofLoc()
    
public  FooterRecordgetFooter()
     Returns the FooterRecord.
public  GridsetRecordgetGridsetRecord()
     Gets the gridset record for this sheet.
public  HeaderRecordgetHeader()
     Returns the HeaderRecord.
public  shortgetLeftCol()
    
public  intgetLoc()
    
public  doublegetMargin(short margin)
     Gets the size of the margin in inches.
protected  Margin[]getMargins()
     Returns the array of margins.
public  MergeCellsRecord.MergedRegiongetMergedRegionAt(int index)
    
public  RowRecordgetNextRow()
     get the NEXT RowRecord (from LOC).
public  CellValueRecordInterfacegetNextValueRecord()
     get the NEXT value record (from LOC).
public  intgetNumColumnBreaks()
    
public  intgetNumMergedRegions()
    
public  intgetNumRecords()
     Returns the number of low level binary records in this sheet.
public  intgetNumRowBreaks()
    
public  PaneInformationgetPaneInformation()
     Returns the information regarding the currently configured pane (split or freeze).
public  PasswordRecordgetPassword()
     Returns the PasswordRecord.
public  intgetPreOffset()
     get the preoffset when using DBCELL records (currently unused) - this is the position of this sheet within the whole file.
public  PrintGridlinesRecordgetPrintGridlines()
     Returns the PrintGridlinesRecord.
public  PrintSetupRecordgetPrintSetup()
     Returns the PrintSetupRecord.
public  ProtectRecordgetProtect()
     Returns the ProtectRecord.
public  ListgetRecords()
    
public  RowRecordgetRow(int rownum)
     get the NEXT (from LOC) RowRecord where rownumber matches the given rownum. The first record that is a Row record (starting at LOC) that has the same rownum as the given rownum will be returned.

This method is "loc" sensitive.

public  IteratorgetRowBreaks()
    
public  SelectionRecordgetSelection()
    
public  intgetSize()
    
public  shortgetTopRow()
    
public  shortgetXFIndexForColAt(short column)
     get the index to the ExtendedFormatRecord "associated" with the column at specified 0-based index.
public  voidgroupColumnRange(short fromColumn, short toColumn, boolean indent)
     Creates an outline group for the specified columns.
public  voidgroupRowRange(int fromRow, int toRow, boolean indent)
    
public  booleanisColumnBroken(short column)
    
public  booleanisColumnHidden(short column)
     Get the hidden property for a given column.
public  booleanisDisplayFormulas()
     Returns if formulas are displayed.
public  booleanisDisplayGridlines()
     Returns if gridlines are displayed.
public  booleanisDisplayRowColHeadings()
     Returns if RowColHeadings are displayed.
public  booleanisGridsPrinted()
     get whether gridlines are printed.
public  boolean[]isProtected()
    
public  booleanisRowBroken(int row)
    
public  voidpreSerialize()
     Perform any work necessary before the sheet is about to be serialized.
public  voidprotectSheet(String password, boolean objects, boolean scenarios)
     protect a spreadsheet with a password (not encypted, just sets protect flags and the password.
public  voidremoveColumnBreak(short column)
    
public  voidremoveMergedRegion(int index)
    
public  voidremoveRow(RowRecord row)
     Removes a row record This method is not loc sensitive, it resets loc to = dimsloc so no worries.
public  voidremoveRowBreak(int row)
    
public  voidremoveValueRecord(int row, CellValueRecordInterface col)
     remove a value record from the records array.
public  voidreplaceValueRecord(CellValueRecordInterface newval)
     replace a value record from the records array. This method is not loc sensitive, it resets loc to = dimsloc so no worries.
Parameters:
  newval - - a record supporting the CellValueRecordInterface.
public  intserialize(int offset, byte[] data)
     Serializes all records in the sheet into one big byte array.
public  voidsetActiveCellCol(short col)
    
public  voidsetActiveCellRow(int row)
    
public  voidsetColumn(short column, Short width, Integer level, Boolean hidden, Boolean collapsed)
    
public  voidsetColumn(short column, Short xfStyle, Short width, Integer level, Boolean hidden, Boolean collapsed)
    
public  voidsetColumnBreak(short column, short fromRow, short toRow)
    
public  voidsetColumnGroupCollapsed(short columnNumber, boolean collapsed)
    
public  voidsetColumnHidden(short column, boolean hidden)
     Get the hidden property for a given column.
public  voidsetColumnWidth(short column, short width)
    
public  voidsetDefaultColumnWidth(short dcw)
    
public  voidsetDefaultRowHeight(short dch)
    
public  voidsetDimensions(int firstrow, short firstcol, int lastrow, short lastcol)
     Per an earlier reported bug in working with Andy Khan's excel read library.
public  voidsetDisplayFormulas(boolean show)
     Sets whether the formulas are shown in a viewer.
public  voidsetDisplayGridlines(boolean show)
     /** Sets whether the gridlines are shown in a viewer.
public  voidsetDisplayRowColHeadings(boolean show)
     Sets whether the RowColHeadings are shown in a viewer.
public  voidsetFooter(FooterRecord newFooter)
     Sets the FooterRecord.
public  voidsetGridsPrinted(boolean value)
     set whether gridlines printed or not.
public  voidsetHeader(HeaderRecord newHeader)
     Sets the HeaderRecord.
public  voidsetLeftCol(short leftCol)
     Sets the left column to show in desktop window pane.
public  voidsetLoc(int loc)
     set the locator for where we should look for the next value record.
public  voidsetMargin(short margin, double size)
     Sets the size of the margin in inches.
public  voidsetPreOffset(int offset)
     Set the preoffset when using DBCELL records (currently unused) - this is the position of this sheet within the whole file.
public  voidsetPrintGridlines(PrintGridlinesRecord newPrintGridlines)
     Sets the PrintGridlinesRecord.
public  voidsetPrintSetup(PrintSetupRecord newPrintSetup)
     Sets the PrintSetupRecord.
public  voidsetRowBreak(int row, short fromCol, short toCol)
    
public  voidsetRowGroupCollapsed(int row, boolean collapse)
    
public  voidsetSCLRecord(SCLRecord sclRecord)
     Sets the SCL record or creates it in the correct place if it does not already exist.
public  voidsetSelected(boolean sel)
    
public  voidsetSelection(SelectionRecord selection)
    
public  voidsetTopRow(short topRow)
    
public  voidshiftBreaks(PageBreakRecord breaks, short start, short stop, int count)
    
public  voidshiftColumnBreaks(short startingCol, short endingCol, short count)
    
public  voidshiftRowBreaks(int startingRow, int endingRow, int count)
    
public  voidunprotectSheet(boolean sheet, boolean objects, boolean scenarios)
     unprotect objects in the sheet (will not protect them, but any set to false are unprotected.

Field Detail
BottomMargin
final public static short BottomMargin(Code)



LeftMargin
final public static short LeftMargin(Code)



PANE_LOWER_LEFT
final public static byte PANE_LOWER_LEFT(Code)



PANE_LOWER_RIGHT
final public static byte PANE_LOWER_RIGHT(Code)



PANE_UPPER_LEFT
final public static byte PANE_UPPER_LEFT(Code)



PANE_UPPER_RIGHT
final public static byte PANE_UPPER_RIGHT(Code)



RightMargin
final public static short RightMargin(Code)



TopMargin
final public static short TopMargin(Code)



cells
protected ValueRecordsAggregate cells(Code)



colBreaks
protected PageBreakRecord colBreaks(Code)



columns
protected ColumnInfoRecordsAggregate columns(Code)



defaultcolwidth
protected DefaultColWidthRecord defaultcolwidth(Code)



defaultrowheight
protected DefaultRowHeightRecord defaultrowheight(Code)



dims
protected DimensionsRecord dims(Code)



dimsloc
protected int dimsloc(Code)



eofLoc
protected int eofLoc(Code)



footer
protected FooterRecord footer(Code)



gridset
protected GridsetRecord gridset(Code)



header
protected HeaderRecord header(Code)



loc
int loc(Code)



margins
protected Margin[] margins(Code)



merged
protected MergeCellsRecord merged(Code)



mergedRecords
protected List mergedRecords(Code)



numMergedRegions
protected int numMergedRegions(Code)



objprotect
protected ObjectProtectRecord objprotect(Code)



password
protected PasswordRecord password(Code)



preoffset
int preoffset(Code)



printGridlines
protected PrintGridlinesRecord printGridlines(Code)



printSetup
protected PrintSetupRecord printSetup(Code)



protect
protected ProtectRecord protect(Code)



records
protected ArrayList records(Code)



rowBreaks
protected PageBreakRecord rowBreaks(Code)



rows
protected RowRecordsAggregate rows(Code)



scenprotect
protected ScenarioProtectRecord scenprotect(Code)



selection
protected SelectionRecord selection(Code)



windowTwo
protected WindowTwoRecord windowTwo(Code)




Constructor Detail
Sheet
public Sheet()(Code)
Creates new Sheet with no intialization --useless at this point
See Also:   Sheet.createSheet(List,int,int)




Method Detail
addMergedRegion
public int addMergedRegion(int rowFrom, short colFrom, int rowTo, short colTo)(Code)



addRow
public void addRow(RowRecord row)(Code)
Adds a row record to the sheet

This method is "loc" sensitive. Meaning you need to set LOC to where you want it to start searching. If you don't know do this: setLoc(getDimsLoc). When adding several rows you can just start at the last one by leaving loc at what this sets it to.
Parameters:
  row - the row record to be added
See Also:   Sheet.setLoc(int)




addValueRecord
public void addValueRecord(int row, CellValueRecordInterface col)(Code)
Adds a value record to the sheet's contained binary records (i.e. LabelSSTRecord or NumberRecord).

This method is "loc" sensitive. Meaning you need to set LOC to where you want it to start searching. If you don't know do this: setLoc(getDimsLoc). When adding several rows you can just start at the last one by leaving loc at what this sets it to.
Parameters:
  row - the row to add the cell value to
Parameters:
  col - the cell value record itself.




aggregateDrawingRecords
public int aggregateDrawingRecords(DrawingManager2 drawingManager)(Code)



checkDimsLoc
public void checkDimsLoc(Record rec, int recloc)(Code)
in the event the record is a dimensions record, resets both the loc index and dimsloc index



cloneSheet
public Sheet cloneSheet()(Code)
Clones the low level records of this sheet and returns the new sheet instance. This method is implemented by adding methods for deep cloning to all records that can be added to a sheet. The Record object does not implement cloneable. When adding a new record, implement a public clone method if and only if the record belongs to a sheet.



createBOF
protected Record createBOF()(Code)
creates the BOF record
See Also:   org.apache.poi.hssf.record.BOFRecord
See Also:   org.apache.poi.hssf.record.Record record containing a BOFRecord



createBlank
public BlankRecord createBlank(int row, short col)(Code)
create a BLANK record (does not add it to the records contained in this sheet)
Parameters:
  row - - the row the BlankRecord is a member of
Parameters:
  col - - the column the BlankRecord is a member of



createCalcCount
protected Record createCalcCount()(Code)
creates the CalcCount record and sets it to 0x64 (default number of iterations)
See Also:   org.apache.poi.hssf.record.CalcCountRecord
See Also:   org.apache.poi.hssf.record.Record record containing a CalcCountRecord



createCalcMode
protected Record createCalcMode()(Code)
creates the CalcMode record and sets it to 1 (automatic formula caculation)
See Also:   org.apache.poi.hssf.record.CalcModeRecord
See Also:   org.apache.poi.hssf.record.Record record containing a CalcModeRecord



createColInfo
protected Record createColInfo()(Code)
creates the ColumnInfo Record and sets it to a default column/width
See Also:   org.apache.poi.hssf.record.ColumnInfoRecord record containing a ColumnInfoRecord



createDefaultColWidth
protected Record createDefaultColWidth()(Code)
creates the DefaultColWidth Record and sets it to 8
See Also:   org.apache.poi.hssf.record.DefaultColWidthRecord
See Also:   org.apache.poi.hssf.record.Record record containing a DefaultColWidthRecord



createDefaultRowHeight
protected Record createDefaultRowHeight()(Code)
creates the DefaultRowHeight Record and sets its options to 0 and rowheight to 0xff
See Also:   org.apache.poi.hssf.record.DefaultRowHeightRecord
See Also:   org.apache.poi.hssf.record.Record record containing a DefaultRowHeightRecord



createDelta
protected Record createDelta()(Code)
creates the Delta record and sets it to 0.0010 (default accuracy)
See Also:   org.apache.poi.hssf.record.DeltaRecord
See Also:   org.apache.poi.hssf.record.Record record containing a DeltaRecord



createDimensions
protected Record createDimensions()(Code)
creates the Dimensions Record and sets it to bogus values (you should set this yourself or let the high level API do it for you)
See Also:   org.apache.poi.hssf.record.DimensionsRecord
See Also:   org.apache.poi.hssf.record.Record record containing a DimensionsRecord



createEOF
protected Record createEOF()(Code)
creates the EOF record
See Also:   org.apache.poi.hssf.record.EOFRecord
See Also:   org.apache.poi.hssf.record.Record record containing a EOFRecord



createFooter
protected Record createFooter()(Code)
creates the Footer Record and sets it to nothing/0 length
See Also:   org.apache.poi.hssf.record.FooterRecord
See Also:   org.apache.poi.hssf.record.Record record containing a FooterRecord



createFormula
public FormulaRecord createFormula(int row, short col, String formula)(Code)
Attempts to parse the formula into PTGs and create a formula record DOES NOT WORK YET
Parameters:
  row - - the row for the formula record
Parameters:
  col - - the column of the formula record
Parameters:
  formula - - a String representing the formula. To be parsed to PTGs bogus/useless formula record



createFreezePane
public void createFreezePane(int colSplit, int rowSplit, int topRow, int leftmostColumn)(Code)
Creates a split (freezepane). Any existing freezepane or split pane is overwritten.
Parameters:
  colSplit - Horizonatal position of split.
Parameters:
  rowSplit - Vertical position of split.
Parameters:
  topRow - Top row visible in bottom pane
Parameters:
  leftmostColumn - Left column visible in right pane.



createGridset
protected Record createGridset()(Code)
creates the Gridset record and sets it to true (user has mucked with the gridlines)
See Also:   org.apache.poi.hssf.record.GridsetRecord
See Also:   org.apache.poi.hssf.record.Record record containing a GridsetRecord



createGuts
protected Record createGuts()(Code)
creates the Guts record and sets leftrow/topcol guttter and rowlevelmax/collevelmax to 0
See Also:   org.apache.poi.hssf.record.GutsRecord
See Also:   org.apache.poi.hssf.record.Record record containing a GutsRecordRecord



createHCenter
protected Record createHCenter()(Code)
creates the HCenter Record and sets it to false (don't horizontally center)
See Also:   org.apache.poi.hssf.record.HCenterRecord
See Also:   org.apache.poi.hssf.record.Record record containing a HCenterRecord



createHeader
protected Record createHeader()(Code)
creates the Header Record and sets it to nothing/0 length
See Also:   org.apache.poi.hssf.record.HeaderRecord
See Also:   org.apache.poi.hssf.record.Record record containing a HeaderRecord



createIndex
protected Record createIndex()(Code)
creates the Index record - not currently used
See Also:   org.apache.poi.hssf.record.IndexRecord
See Also:   org.apache.poi.hssf.record.Record record containing a IndexRecord



createIteration
protected Record createIteration()(Code)
creates the Iteration record and sets it to false (don't iteratively calculate formulas)
See Also:   org.apache.poi.hssf.record.IterationRecord
See Also:   org.apache.poi.hssf.record.Record record containing a IterationRecord



createLabelSST
public LabelSSTRecord createLabelSST(int row, short col, int index)(Code)
Create a LABELSST Record (does not add it to the records contained in this sheet)
Parameters:
  row - the row the LabelSST is a member of
Parameters:
  col - the column the LabelSST defines
Parameters:
  index - the index of the string within the SST (use workbook addSSTString method) LabelSSTRecord newly created containing your SST Index, row,col.
See Also:   org.apache.poi.hssf.record.SSTRecord



createMergedCells
protected Record createMergedCells()(Code)



createNumber
public NumberRecord createNumber(int row, short col, double value)(Code)
Create a NUMBER Record (does not add it to the records contained in this sheet)
Parameters:
  row - the row the NumberRecord is a member of
Parameters:
  col - the column the NumberRecord defines
Parameters:
  value - for the number record NumberRecord for that row, col containing that value as added to the sheet



createObjectProtect
protected ObjectProtectRecord createObjectProtect()(Code)
creates an ObjectProtect record with protect set to false.
See Also:   org.apache.poi.hssf.record.ObjectProtectRecord
See Also:   org.apache.poi.hssf.record.Record an ObjectProtectRecord



createPassword
protected PasswordRecord createPassword()(Code)
creates a Password record with password set to 00.
See Also:   org.apache.poi.hssf.record.PasswordRecord
See Also:   org.apache.poi.hssf.record.Record a PasswordRecord



createPrintGridlines
protected Record createPrintGridlines()(Code)
creates the PrintGridlines record and sets it to false (that makes for ugly sheets). As far as I can tell this does the same thing as the GridsetRecord
See Also:   org.apache.poi.hssf.record.PrintGridlinesRecord
See Also:   org.apache.poi.hssf.record.Record record containing a PrintGridlinesRecord



createPrintHeaders
protected Record createPrintHeaders()(Code)
creates the PrintHeaders record and sets it to false (we don't create headers yet so why print them)
See Also:   org.apache.poi.hssf.record.PrintHeadersRecord
See Also:   org.apache.poi.hssf.record.Record record containing a PrintHeadersRecord



createPrintSetup
protected Record createPrintSetup()(Code)
creates the PrintSetup Record and sets it to defaults and marks it invalid
See Also:   org.apache.poi.hssf.record.PrintSetupRecord
See Also:   org.apache.poi.hssf.record.Record record containing a PrintSetupRecord



createProtect
protected Record createProtect()(Code)
creates a Protect record with protect set to false.
See Also:   org.apache.poi.hssf.record.ProtectRecord
See Also:   org.apache.poi.hssf.record.Record a ProtectRecord



createRefMode
protected Record createRefMode()(Code)
creates the RefMode record and sets it to A1 Mode (default reference mode)
See Also:   org.apache.poi.hssf.record.RefModeRecord
See Also:   org.apache.poi.hssf.record.Record record containing a RefModeRecord



createRow
public RowRecord createRow(int row)(Code)
Create a row record. (does not add it to the records contained in this sheet)
Parameters:
  row - number RowRecord created for the passed in row number
See Also:   org.apache.poi.hssf.record.RowRecord



createSaveRecalc
protected Record createSaveRecalc()(Code)
creates the SaveRecalc record and sets it to true (recalculate before saving)
See Also:   org.apache.poi.hssf.record.SaveRecalcRecord
See Also:   org.apache.poi.hssf.record.Record record containing a SaveRecalcRecord



createScenarioProtect
protected ScenarioProtectRecord createScenarioProtect()(Code)
creates a ScenarioProtect record with protect set to false.
See Also:   org.apache.poi.hssf.record.ScenarioProtectRecord
See Also:   org.apache.poi.hssf.record.Record a ScenarioProtectRecord



createSelection
protected Record createSelection()(Code)
Creates the Selection record and sets it to nothing selected
See Also:   org.apache.poi.hssf.record.SelectionRecord
See Also:   org.apache.poi.hssf.record.Record record containing a SelectionRecord



createSheet
public static Sheet createSheet(List recs, int sheetnum, int offset)(Code)
read support (offset used as starting point for search) for low level API. Pass in an array of Record objects, the sheet number (0 based) and a record offset (should be the location of the sheets BOF record). A Sheet object is constructed and passed back with all of its initialization set to the passed in records and references to those records held. This function is normally called via Workbook.
Parameters:
  recs - array containing those records in the sheet in sequence (normally obtained from RecordFactory)
Parameters:
  sheetnum - integer specifying the sheet's number (0,1 or 2 in this release)
Parameters:
  offset - of the sheet's BOF record Sheet object with all values set to those read from the file
See Also:   org.apache.poi.hssf.model.Workbook
See Also:   org.apache.poi.hssf.record.Record



createSheet
public static Sheet createSheet(List records, int sheetnum)(Code)
read support (offset = 0) Same as createSheet(Record[] recs, int, int) only the record offset is assumed to be 0.
Parameters:
  records - array containing those records in the sheet in sequence (normally obtained from RecordFactory)
Parameters:
  sheetnum - integer specifying the sheet's number (0,1 or 2 in this release) Sheet object



createSheet
public static Sheet createSheet()(Code)
Creates a sheet with all the usual records minus values and the "index" record (not required). Sets the location pointer to where the first value records should go. Use this to create a sheet from "scratch". Sheet object with all values set to defaults



createSplitPane
public void createSplitPane(int xSplitPos, int ySplitPos, int topRow, int leftmostColumn, int activePane)(Code)
Creates a split pane. Any existing freezepane or split pane is overwritten.
Parameters:
  xSplitPos - Horizonatal position of split (in 1/20th of a point).
Parameters:
  ySplitPos - Vertical position of split (in 1/20th of a point).
Parameters:
  topRow - Top row visible in bottom pane
Parameters:
  leftmostColumn - Left column visible in right pane.
Parameters:
  activePane - Active pane. One of: PANE_LOWER_RIGHT,PANE_UPPER_RIGHT, PANE_LOWER_LEFT, PANE_UPPER_LEFT
See Also:   Sheet.PANE_LOWER_LEFT
See Also:   Sheet.PANE_LOWER_RIGHT
See Also:   Sheet.PANE_UPPER_LEFT
See Also:   Sheet.PANE_UPPER_RIGHT



createVCenter
protected Record createVCenter()(Code)
creates the VCenter Record and sets it to false (don't horizontally center)
See Also:   org.apache.poi.hssf.record.VCenterRecord
See Also:   org.apache.poi.hssf.record.Record record containing a VCenterRecord



createWSBool
protected Record createWSBool()(Code)
creates the WSBoolRecord and sets its values to defaults
See Also:   org.apache.poi.hssf.record.WSBoolRecord
See Also:   org.apache.poi.hssf.record.Record record containing a WSBoolRecord



createWindowTwo
protected WindowTwoRecord createWindowTwo()(Code)
creates the WindowTwo Record and sets it to:

options = 0x6b6

toprow = 0

leftcol = 0

headercolor = 0x40

pagebreakzoom = 0x0

normalzoom = 0x0


See Also:   org.apache.poi.hssf.record.WindowTwoRecord
See Also:   org.apache.poi.hssf.record.Record record containing a WindowTwoRecord




findFirstRecordBySid
public Record findFirstRecordBySid(short sid)(Code)
Returns the first occurance of a record matching a particular sid.



findFirstRecordLocBySid
public int findFirstRecordLocBySid(short sid)(Code)
Finds the first occurance of a record matching a particular sid and returns it's position.
Parameters:
  sid - the sid to search for the record position of the matching record or -1 if no matchis made.



getActiveCellCol
public short getActiveCellCol()(Code)
Returns the active column
See Also:   org.apache.poi.hssf.record.SelectionRecord row the active column index



getActiveCellRow
public int getActiveCellRow()(Code)
Returns the active row
See Also:   org.apache.poi.hssf.record.SelectionRecord row the active row index



getColumnBreaks
public Iterator getColumnBreaks()(Code)
Returns all the column page breaks all the column page breaks



getColumnWidth
public short getColumnWidth(short column)(Code)
get the width of a given column in units of 1/20th of a point width (twips?)
Parameters:
  column - index
See Also:   org.apache.poi.hssf.record.DefaultColWidthRecord
See Also:   org.apache.poi.hssf.record.ColumnInfoRecord
See Also:   Sheet.setColumnWidth(short,short) column width in units of 1/20th of a point (twips?)



getDefaultColumnWidth
public short getDefaultColumnWidth()(Code)
get the default column width for the sheet (if the columns do not define their own width) default column width



getDefaultRowHeight
public short getDefaultRowHeight()(Code)
get the default row height for the sheet (if the rows do not define their own height) default row height



getDimsLoc
public int getDimsLoc()(Code)
get the location of the DimensionsRecord (which is the last record before the value section) location in the array of records of the DimensionsRecord



getEofLoc
public int getEofLoc()(Code)



getFooter
public FooterRecord getFooter()(Code)
Returns the FooterRecord. FooterRecord for the sheet.



getGridsetRecord
public GridsetRecord getGridsetRecord()(Code)
Gets the gridset record for this sheet.



getHeader
public HeaderRecord getHeader()(Code)
Returns the HeaderRecord. HeaderRecord for the sheet.



getLeftCol
public short getLeftCol()(Code)



getLoc
public int getLoc()(Code)
Returns the location pointer to the first record to look for when adding rows/values



getMargin
public double getMargin(short margin)(Code)
Gets the size of the margin in inches.
Parameters:
  margin - which margin to get the size of the margin



getMargins
protected Margin[] getMargins()(Code)
Returns the array of margins. If not created, will create. the array of marings.



getMergedRegionAt
public MergeCellsRecord.MergedRegion getMergedRegionAt(int index)(Code)



getNextRow
public RowRecord getNextRow()(Code)
get the NEXT RowRecord (from LOC). The first record that is a Row record (starting at LOC) will be returned.

This method is "loc" sensitive. Meaning you need to set LOC to where you want it to start searching. If you don't know do this: setLoc(getDimsLoc). When adding several rows you can just start at the last one by leaving loc at what this sets it to. For this method, set loc to dimsloc to start with. subsequent calls will return rows in (physical) sequence or NULL when you get to the end. RowRecord representing the next row record or NULL if there are no more
See Also:   Sheet.setLoc(int)




getNextValueRecord
public CellValueRecordInterface getNextValueRecord()(Code)
get the NEXT value record (from LOC). The first record that is a value record (starting at LOC) will be returned.

This method is "loc" sensitive. Meaning you need to set LOC to where you want it to start searching. If you don't know do this: setLoc(getDimsLoc). When adding several rows you can just start at the last one by leaving loc at what this sets it to. For this method, set loc to dimsloc to start with, subsequent calls will return values in (physical) sequence or NULL when you get to the end. CellValueRecordInterface representing the next value record or NULL if there are no more
See Also:   Sheet.setLoc(int)




getNumColumnBreaks
public int getNumColumnBreaks()(Code)
Returns the number of column page breaks the number of column page breaks



getNumMergedRegions
public int getNumMergedRegions()(Code)



getNumRecords
public int getNumRecords()(Code)
Returns the number of low level binary records in this sheet. This adjusts things for the so called AgregateRecords.
See Also:   org.apache.poi.hssf.record.Record



getNumRowBreaks
public int getNumRowBreaks()(Code)
Returns the number of row page breaks the number of row page breaks



getPaneInformation
public PaneInformation getPaneInformation()(Code)
Returns the information regarding the currently configured pane (split or freeze). null if no pane configured, or the pane information.



getPassword
public PasswordRecord getPassword()(Code)
Returns the PasswordRecord. If one is not contained in the sheet, then one is created.



getPreOffset
public int getPreOffset()(Code)
get the preoffset when using DBCELL records (currently unused) - this is the position of this sheet within the whole file. offset the offset of the sheet's BOF within the file.



getPrintGridlines
public PrintGridlinesRecord getPrintGridlines()(Code)
Returns the PrintGridlinesRecord. PrintGridlinesRecord for the sheet.



getPrintSetup
public PrintSetupRecord getPrintSetup()(Code)
Returns the PrintSetupRecord. PrintSetupRecord for the sheet.



getProtect
public ProtectRecord getProtect()(Code)
Returns the ProtectRecord. If one is not contained in the sheet, then one is created.



getRecords
public List getRecords()(Code)



getRow
public RowRecord getRow(int rownum)(Code)
get the NEXT (from LOC) RowRecord where rownumber matches the given rownum. The first record that is a Row record (starting at LOC) that has the same rownum as the given rownum will be returned.

This method is "loc" sensitive. Meaning you need to set LOC to where you want it to start searching. If you don't know do this: setLoc(getDimsLoc). When adding several rows you can just start at the last one by leaving loc at what this sets it to. For this method, set loc to dimsloc to start with. subsequent calls will return rows in (physical) sequence or NULL when you get to the end.
Parameters:
  rownum - which row to return (careful with LOC) RowRecord representing the next row record or NULL if there are no more
See Also:   Sheet.setLoc(int)




getRowBreaks
public Iterator getRowBreaks()(Code)
Returns all the row page breaks all the row page breaks



getSelection
public SelectionRecord getSelection()(Code)



getSize
public int getSize()(Code)



getTopRow
public short getTopRow()(Code)



getXFIndexForColAt
public short getXFIndexForColAt(short column)(Code)
get the index to the ExtendedFormatRecord "associated" with the column at specified 0-based index. (In this case, an ExtendedFormatRecord index is actually associated with a ColumnInfoRecord which spans 1 or more columns)
Returns the index to the default ExtendedFormatRecord (0xF) if no ColumnInfoRecord exists that includes the column index specified.
Parameters:
  column - index of ExtendedFormatRecord associated withColumnInfoRecord that includes the column index or theindex of the default ExtendedFormatRecord (0xF)



groupColumnRange
public void groupColumnRange(short fromColumn, short toColumn, boolean indent)(Code)
Creates an outline group for the specified columns.
Parameters:
  fromColumn - group from this column (inclusive)
Parameters:
  toColumn - group to this column (inclusive)
Parameters:
  indent - if true the group will be indented by one level,if false indenting will be removed by one level.



groupRowRange
public void groupRowRange(int fromRow, int toRow, boolean indent)(Code)



isColumnBroken
public boolean isColumnBroken(short column)(Code)
Queries if the specified column has a page break true if the specified column has a page break



isColumnHidden
public boolean isColumnHidden(short column)(Code)
Get the hidden property for a given column.
Parameters:
  column - index
See Also:   org.apache.poi.hssf.record.DefaultColWidthRecord
See Also:   org.apache.poi.hssf.record.ColumnInfoRecord
See Also:   Sheet.setColumnHidden(short,boolean) whether the column is hidden or not.



isDisplayFormulas
public boolean isDisplayFormulas()(Code)
Returns if formulas are displayed. whether formulas are displayed



isDisplayGridlines
public boolean isDisplayGridlines()(Code)
Returns if gridlines are displayed. whether gridlines are displayed



isDisplayRowColHeadings
public boolean isDisplayRowColHeadings()(Code)
Returns if RowColHeadings are displayed. whether RowColHeadings are displayed



isGridsPrinted
public boolean isGridsPrinted()(Code)
get whether gridlines are printed. true if printed



isProtected
public boolean[] isProtected()(Code)
{sheet is protected, objects are proteced, scenarios are protected}



isRowBroken
public boolean isRowBroken(int row)(Code)
Queries if the specified row has a page break
Parameters:
  row - true if the specified row has a page break



preSerialize
public void preSerialize()(Code)
Perform any work necessary before the sheet is about to be serialized. For instance the escher aggregates size needs to be calculated before serialization so that the dgg record (which occurs first) can be written.



protectSheet
public void protectSheet(String password, boolean objects, boolean scenarios)(Code)
protect a spreadsheet with a password (not encypted, just sets protect flags and the password.
Parameters:
  password - to set
Parameters:
  objects - are protected
Parameters:
  scenarios - are protected



removeColumnBreak
public void removeColumnBreak(short column)(Code)
Removes a page break at the indicated column



removeMergedRegion
public void removeMergedRegion(int index)(Code)



removeRow
public void removeRow(RowRecord row)(Code)
Removes a row record This method is not loc sensitive, it resets loc to = dimsloc so no worries.
Parameters:
  row - the row record to remove



removeRowBreak
public void removeRowBreak(int row)(Code)
Removes a page break at the indicated row
Parameters:
  row -



removeValueRecord
public void removeValueRecord(int row, CellValueRecordInterface col)(Code)
remove a value record from the records array. This method is not loc sensitive, it resets loc to = dimsloc so no worries.
Parameters:
  row - - the row of the value record you wish to remove
Parameters:
  col - - a record supporting the CellValueRecordInterface.
See Also:   org.apache.poi.hssf.record.CellValueRecordInterface



replaceValueRecord
public void replaceValueRecord(CellValueRecordInterface newval)(Code)
replace a value record from the records array. This method is not loc sensitive, it resets loc to = dimsloc so no worries.
Parameters:
  newval - - a record supporting the CellValueRecordInterface. this will replacethe cell value with the same row and column. If there isn't one, one willbe added.



serialize
public int serialize(int offset, byte[] data)(Code)
Serializes all records in the sheet into one big byte array. Use this to write the sheet out.
Parameters:
  offset - to begin write at
Parameters:
  data - array containing the binary representation of the records in this sheet



setActiveCellCol
public void setActiveCellCol(short col)(Code)
Sets the active column
Parameters:
  col - the column index
See Also:   org.apache.poi.hssf.record.SelectionRecord



setActiveCellRow
public void setActiveCellRow(int row)(Code)
Sets the active row
Parameters:
  row - the row index
See Also:   org.apache.poi.hssf.record.SelectionRecord



setColumn
public void setColumn(short column, Short width, Integer level, Boolean hidden, Boolean collapsed)(Code)



setColumn
public void setColumn(short column, Short xfStyle, Short width, Integer level, Boolean hidden, Boolean collapsed)(Code)



setColumnBreak
public void setColumnBreak(short column, short fromRow, short toRow)(Code)
Sets a page break at the indicated column



setColumnGroupCollapsed
public void setColumnGroupCollapsed(short columnNumber, boolean collapsed)(Code)



setColumnHidden
public void setColumnHidden(short column, boolean hidden)(Code)
Get the hidden property for a given column.
Parameters:
  column - - the column number
Parameters:
  hidden - - whether the column is hidden or not



setColumnWidth
public void setColumnWidth(short column, short width)(Code)
set the width for a given column in 1/20th of a character width units
Parameters:
  column - - the column number
Parameters:
  width - (in units of 1/20th of a character width)



setDefaultColumnWidth
public void setDefaultColumnWidth(short dcw)(Code)
set the default column width for the sheet (if the columns do not define their own width)
Parameters:
  dcw - default column width



setDefaultRowHeight
public void setDefaultRowHeight(short dch)(Code)
set the default row height for the sheet (if the rows do not define their own height)



setDimensions
public void setDimensions(int firstrow, short firstcol, int lastrow, short lastcol)(Code)
Per an earlier reported bug in working with Andy Khan's excel read library. This sets the values in the sheet's DimensionsRecord object to be correct. Excel doesn't really care, but we want to play nice with other libraries.
See Also:   org.apache.poi.hssf.record.DimensionsRecord



setDisplayFormulas
public void setDisplayFormulas(boolean show)(Code)
Sets whether the formulas are shown in a viewer.
Parameters:
  show - whether to show formulas or not



setDisplayGridlines
public void setDisplayGridlines(boolean show)(Code)
/** Sets whether the gridlines are shown in a viewer.
Parameters:
  show - whether to show gridlines or not



setDisplayRowColHeadings
public void setDisplayRowColHeadings(boolean show)(Code)
Sets whether the RowColHeadings are shown in a viewer.
Parameters:
  show - whether to show RowColHeadings or not



setFooter
public void setFooter(FooterRecord newFooter)(Code)
Sets the FooterRecord.
Parameters:
  newFooter - The new FooterRecord for the sheet.



setGridsPrinted
public void setGridsPrinted(boolean value)(Code)
set whether gridlines printed or not.
Parameters:
  value - True if gridlines printed.



setHeader
public void setHeader(HeaderRecord newHeader)(Code)
Sets the HeaderRecord.
Parameters:
  newHeader - The new HeaderRecord for the sheet.



setLeftCol
public void setLeftCol(short leftCol)(Code)
Sets the left column to show in desktop window pane.
Parameters:
  leftCol - the left column to show in desktop window pane



setLoc
public void setLoc(int loc)(Code)
set the locator for where we should look for the next value record. The algorythm will actually start here and find the correct location so you can set this to 0 and watch performance go down the tubes but it will work. After a value is set this is automatically advanced. Its also set by the create method. So you probably shouldn't mess with this unless you have a compelling reason why or the help for the method you're calling says so. Check the other methods for whether they care about the loc pointer. Many of the "modify" and "remove" methods re-initialize this to "dimsloc" which is the location of the Dimensions Record and presumably the start of the value section (at or around 19 dec).
Parameters:
  loc - the record number to start at



setMargin
public void setMargin(short margin, double size)(Code)
Sets the size of the margin in inches.
Parameters:
  margin - which margin to get
Parameters:
  size - the size of the margin



setPreOffset
public void setPreOffset(int offset)(Code)
Set the preoffset when using DBCELL records (currently unused) - this is the position of this sheet within the whole file.
Parameters:
  offset - the offset of the sheet's BOF within the file.



setPrintGridlines
public void setPrintGridlines(PrintGridlinesRecord newPrintGridlines)(Code)
Sets the PrintGridlinesRecord.
Parameters:
  newPrintGridlines - The new PrintGridlinesRecord for the sheet.



setPrintSetup
public void setPrintSetup(PrintSetupRecord newPrintSetup)(Code)
Sets the PrintSetupRecord.
Parameters:
  newPrintSetup - The new PrintSetupRecord for the sheet.



setRowBreak
public void setRowBreak(int row, short fromCol, short toCol)(Code)
Sets a page break at the indicated row
Parameters:
  row -



setRowGroupCollapsed
public void setRowGroupCollapsed(int row, boolean collapse)(Code)



setSCLRecord
public void setSCLRecord(SCLRecord sclRecord)(Code)
Sets the SCL record or creates it in the correct place if it does not already exist.
Parameters:
  sclRecord - The record to set.



setSelected
public void setSelected(boolean sel)(Code)
Sets whether the sheet is selected
Parameters:
  sel - True to select the sheet, false otherwise.



setSelection
public void setSelection(SelectionRecord selection)(Code)



setTopRow
public void setTopRow(short topRow)(Code)



shiftBreaks
public void shiftBreaks(PageBreakRecord breaks, short start, short stop, int count)(Code)
Shifts all the page breaks in the range "count" number of rows/columns
Parameters:
  breaks - The page record to be shifted
Parameters:
  start - Starting "main" value to shift breaks
Parameters:
  stop - Ending "main" value to shift breaks
Parameters:
  count - number of units (rows/columns) to shift by



shiftColumnBreaks
public void shiftColumnBreaks(short startingCol, short endingCol, short count)(Code)
Shifts the vertical page breaks for the indicated count
Parameters:
  startingCol -
Parameters:
  endingCol -
Parameters:
  count -



shiftRowBreaks
public void shiftRowBreaks(int startingRow, int endingRow, int count)(Code)
Shifts the horizontal page breaks for the indicated count
Parameters:
  startingRow -
Parameters:
  endingRow -
Parameters:
  count -



unprotectSheet
public void unprotectSheet(boolean sheet, boolean objects, boolean scenarios)(Code)
unprotect objects in the sheet (will not protect them, but any set to false are unprotected.
Parameters:
  sheet - is unprotected (false = unprotect)
Parameters:
  objects - are unprotected (false = unprotect)
Parameters:
  scenarios - are unprotected (false = unprotect)



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.