borland Packages  Class Hierarchy  jbcl.view Package  Index 

SizeVector interface

borland.jbcl.view.SizeVector

About the SizeVector interface

Methods  

Implemented by FixedSizeVector, VariableSizeVector

A small interface defining size properties for use by the internal JBCL classes FixedSizeVector and VariableSizeVector.


SizeVector methods

Methods defined in this interface


SizeVector methods

getSize(int)

  public int getSize(int index)

The size of the vector item at the specified position in the vector.

getSizeUpTo(int)

  public int getSizeUpTo(int index)

Gets the total size required including the first item in the vector through the item at the specified index.

setSize(int, int)

  public void setSize(int index, int size)

Sets the size of each item in the vector.