Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.poi » hssf » record » [javadoc | source]
org.apache.cocoon.poi.hssf.record
public class: WindowOneRecord [javadoc | source]
java.lang.Object
   org.apache.cocoon.poi.hssf.record.Record
      org.apache.cocoon.poi.hssf.record.WindowOneRecord
Title: Window1 Record

Description: Stores the attributes of the workbook window. This is basically so the gui knows how big to make the window holding the spreadsheet document.

Copyright: Copyright (c) 2001 SuperLink Software, Inc.

REFERENCE: PG 421 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)

Field Summary
public static final  short sid     
Fields inherited from org.apache.cocoon.poi.hssf.record.Record:
sid
Constructor:
 public WindowOneRecord() 
 public WindowOneRecord(short id,
    short size,
    byte[] data) 
 public WindowOneRecord(short id,
    short size,
    byte[] data,
    int offset) 
Method from org.apache.cocoon.poi.hssf.record.WindowOneRecord Summary:
fillFields,   getDisplayHorizontalScrollbar,   getDisplayTabs,   getDisplayVerticalScrollbar,   getDisplayedTab,   getHeight,   getHidden,   getHorizontalHold,   getIconic,   getNumSelectedTabs,   getOptions,   getSelectedTab,   getSid,   getTabWidthRatio,   getVerticalHold,   getWidth,   serialize,   setDisplayHorizonalScrollbar,   setDisplayTabs,   setDisplayVerticalScrollbar,   setDisplayedTab,   setHeight,   setHidden,   setHorizontalHold,   setIconic,   setNumSelectedTabs,   setOptions,   setSelectedTab,   setTabWidthRatio,   setVerticalHold,   setWidth,   toString,   validateSid
Methods from org.apache.cocoon.poi.hssf.record.Record:
fillFields,   fillFields,   getRecordSize,   getSid,   isInValueSection,   isValue,   processContinueRecord,   serialize,   toString,   validateSid
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.poi.hssf.record.WindowOneRecord Detail:
 protected  void fillFields(byte[] data,
    short size,
    int offset) 
 public boolean getDisplayHorizontalScrollbar() 
    get whether to display the horizontal scrollbar or not
 public boolean getDisplayTabs() 
    get whether to display the tabs or not
 public boolean getDisplayVerticalScrollbar() 
    get whether to display the vertical scrollbar or not
 public short getDisplayedTab() 
    get the displayed tab number
 public short getHeight() 
    get the height of the window
 public boolean getHidden() 
    get whether the window is hidden or not
 public short getHorizontalHold() 
    get the horizontal position of the window (in 1/20ths of a point)
 public boolean getIconic() 
    get whether the window has been iconized or not
 public short getNumSelectedTabs() 
    get the number of selected tabs
 public short getOptions() 
    get the options bitmask (see bit setters)
 public short getSelectedTab() 
    get the selected tab number
 public short getSid() 
 public short getTabWidthRatio() 
    ratio of the width of the tabs to the horizontal scrollbar
 public short getVerticalHold() 
    get the vertical position of the window (in 1/20ths of a point)
 public short getWidth() 
    get the width of the window
 public byte[] serialize() 
 public  void setDisplayHorizonalScrollbar(boolean scroll) 
    set whether to display the horizontal scrollbar or not
 public  void setDisplayTabs(boolean disptabs) 
    set whether to display the tabs or not
 public  void setDisplayVerticalScrollbar(boolean scroll) 
    set whether to display the vertical scrollbar or not
 public  void setDisplayedTab(short t) 
    set the displayed tab number
 public  void setHeight(short h) 
    set teh height of the window
 public  void setHidden(boolean ishidden) 
    set whether the window is hidden or not
 public  void setHorizontalHold(short h) 
    set the horizontal position of the window (in 1/20ths of a point)
 public  void setIconic(boolean isiconic) 
    set whether the window has been iconized or not
 public  void setNumSelectedTabs(short n) 
    set the number of selected tabs
 public  void setOptions(short o) 
    set the options bitmask (see bit setters)
 public  void setSelectedTab(short s) 
    set the selected tab number
 public  void setTabWidthRatio(short r) 
    ratio of the width of the tabs to the horizontal scrollbar
 public  void setVerticalHold(short v) 
    set the vertical position of the window (in 1/20ths of a point)
 public  void setWidth(short w) 
    set the width of the window
 public String toString() 
 protected  void validateSid(short id)