[
Previous section |
Latest changes |
Table of Contents
]
Change History
Version 1.0 released on 07/10/96
This is the first release.
Version 1.1 released on 07/15/96
Bug Fixes
DataContainer
- Fixed a NoSuchMethodException problem.
This file has also bee significantly updated and an inconsistency
between
the compiled classes and the source code has been resolved.
New Classes
HotSpot
This new class aids in handling clicks on different areas of a custom
control.
Enhancements
DataContainer
- Activated the vertical scroll bar.
- The constructor now requires an int argument.
- Added the Details_View, List_View, Tree_View, Left_Justify,
Center_Justify and Right_Justify constants.
- Columns in the Details view may now be justified left, center
or right. Left is the default.
- Added the setView() method.
- Added support for the List view.
- Added basic support for the Tree view (tree lines are still
missing).
ContainerItem
- Added the getItem() method.
- Added the getFirstChild() method.
- Added the setExpanded() method.
- Added the isExpanded() method.
- Added the getParent() method.
Notebook
- Added the setOrientationAndStyle() method.
- Added the setStyle() method.
- Added the first round of support for fancy notebooks (currently
limited to tabs on the right side of the notebook only; also some other
OS/2 functionality is still missing). Have a look!
Version 1.2 released on 07/22/96
Bug Fixes
ContainerItem
- Fixed the getParent() method to always return the correct
parent.
DataContainer
- Corrected a problem with the drawing of some tree structures in the
Tree view.
- Fixed a NullPointerException problem in the Details view when an
item had no column data, when no column titles where specified and in
the mouse event handling.
New Classes
GroupBox
This class provides a standard looking group box (based on
java.awt.Panel). No effort is made to prevent the group box lines and
titles from being overlaid by the contained controls. Use your layout
managers carefully.
Enhancements
DataContainer
- The Tree view now has tree lines.
- The Details view now has vertical separator lines.
- Added the Vertical_Lines and Icon_View constants.
- The setColumnData() method now requires another argument.
- Single item selection is now supported in all views.
- Added the getSelected() method.
- A LIST_SELECT event is now posted when an item is selected. The
event.arg field holds the ContainerItem involved.
- A LIST_DESELECT event is now posted when an item is deselected. The
event.arg field holds the ContainerItem involved.
- An ACTION_EVENT event is now posted when an item is double-clicked.
The event.arg field holds the ContainerItem involved.
- Added support for the Icon view.
ContainerItem
- Added the setSelected() method.
- Added the isSelected() method.
- The constructor now requires a java.awt.Image argument.
- Added the getImage() method.
Version 1.3 released on 08/26/96
Bug Fixes
Corrected the documentation to reflect how to leave the classes packed
in EXTEND.ZIP.
DataContainer
- Corrected several exceptions when the container had a null root (the
container was empty).:
ADate
- Corrected the constructor to use the right day of the month.
New Classes
NBStatusBar
This class is an internal part of the notebook control.
Enhancements
Calendar
- Whenever a date button is pressed, an action event is now psted to
the Calendar owner with an ADate in the event.arg field.
- The constructor now requires an indication about if/how to display
day names.
Notebook
- Fancy notebooks can now have tabs on the bottom.
- Support for multiple pages per tab has been added. The non-tab
pages are only accessible when the notebook is using the Fancy style.
ADate
- Added the getWeekdayName() method.
- Added the getMonthName() method.
Version 1.4 released on 09/26/96
Bug Fixes
There were no bugs fixed in this release.
New Classes
PageVerifier
This interface for page verification was added for the notebook control.
Enhancements
Notebook
- An action event is now posted whenever the user changes the current
page.
- Added the pageShowing() method.
- Added the PageVerifier callback mechanism for verifying page data.
- Added the verifyPage() method.
GroupBox
- The area drawn by GroupBox is now protected. Add any component with
the add() method (usually a Panel) to occupy the 'client area' of
the GroupBox.
Version 1.41 released on 09/27/96
Bug Fixes
Notebook
- Corrected an array management problem which was causing an
ArrayIndexOutOfBoundsException (thanks Jeff!)
Version 1.5 released on 10/01/96
Bug Fixes
Notebook
- Corrected an array indexing problem which was causing layout
problems.
New classes
There are no new classes in this release.
Enhancements
ContainerItem
- Updated the setColumn() method to take a column number. This
allows for dynamic update of column data. Note: If you
update column data, you must force the DataContainer this ContainerItem
is in to repaint.
DataContainer
- Null column text is now allowed in the Details view.
Version 1.6 released on 10/03/96
Bug Fixes
DataContainer
- Corrected a NullPointerException when the container was empty.
- The Icon view now scrolls properly.
- The Icon view no longer overlaps items when their images are wider
than their text.
New classes
ItemProcessor
This interface was added for processing ContainerItems during a
ContainerItem.traverse().
Enhancements
DataContainer
- Multiple selection is now supported.
- Added the setMultipleSelection() method.
- The getSelected() method now returns an array.
- Added the setAllSelection() method.
- A horizontal scroll bar in the Details view is now supported.
ContainerItem
- Added the traverse() method for walking through an item
tree/list.
- Added the setImage() method.
- Added the remove() method.
Version 1.7 released on 10/08/96
Bug Fixes
There were no bugs fixed in this release.
New classes
There were no new classes added in this release.
Enhancements
GroupBox
- Updated to act more appropriately as an AWT extension. Insets are
now used to reserve the room for the group box's adornments. Use
GroupBox exactly as you would any other java.awt.Panel (layout managers
and all).
DataContainer
- Added the Single_Selection, Forced_Single_Selection and
Multiple_Selection constants.
- The setMultipleSelection() method has been renamed to
setSelectionType() and takes one of the three new constants as an
argument.
- Forced selection style is now supported. Forced selection means
that the DataContainer guarantees that one and only one item is always
selected (unless the container is empty, of course).
Version 2.0 released on 10/29/96
Bug Fixes
DataContainer
- Corrected a highlighting problem in the Icon view when the item text
was narrower than the item's image.
New classes
IconCanvas
This new class is an internal part of the DataContainer class.
TreeCanvas
This new class is an internal part of the DataContainer class.
ListCanvas
This new class is an internal part of the DataContainer class.
DetailsCanvas
This new class is an internal part of the DataContainer class.
Enhancements
This document has been completely rewritten. Many inconsistencies and
errors have been corrected. A support agreement to allow for the
package's use in customer projects and products has been added.
ContainerItem
- Column data may now be any object.
- The getColumn() and getColumns () methods now return objects
rather than strings.
- The setColumn() method now accepts any object.
- Added the moveBefore() method.
- Added the moveAfter() method.
- Added the moveToFront() method.
- Added the moveToEnd() method.
DataContainer
- Column titles in the Details view may now be any object or null. If
a column title is a java.awt.Image, it will be drawn as such.
Otherwise, the object's toString() method will be used for the
string to display.
- Column data in the Details view may now be any object, including
images. If the column data is a java.awt.Image, it will be drawn as
such. Otherwise, the object's toString() method will be used for
the string to display.
- The setColumnData() method will now accept any object as the
column title.
- Added the No_Vertical_Line constant.
- Renamed the Vertical_Lines constant to Vertical_Line.
- This control has been completely rewritten for extensibility and
maintenance.
- The Details view now supports a split bar.
- Added the setSplitBar() method.
- The plus/minus buttons in the Tree view are now bigger (and easier
to hit).
ADate
- Changed the default toString() format to YYYY/MM/DD and
guaranteed leading zeros on each piece of the string.
- The toString(int) method now throws an exception when the argument
is not valid.
- Added the European constant.
- Renamed the Typical constant to USA.
Version 2.01 released on 11/11/96
The documentation has been converted to HTML pages. Rich Text Format did not
go over very well.
Bug Fixes
DataContainer
- Corrected a repainting problem in the Details view and tweaked the
drawing logic to cut down on the number of redraws.
- Corrected a scrolling problem in the Icon view where the incorrect
items were being drawn as scrolling occurred.
- Corrected scroll bar handling in all views which was causing errors
on AIX.
- Corrected placement problems in the Details view when images were
in columns.
Version 2.1 released on 12/02/96
More work on the documentation has been done (mostly in "prettying" it up). A
statement addressing Java 1.1 concerns was also added. Click
here to view it.
The Driver.* files have been removed from the SAMPLES.ZIP file. They have
been combined with the TestBed.* files.
Bug Fixes
DataContainer
- Corrected a couple more scrolling-related problems.
- Corrected an item misdraw problem in the Details view.
- Corrected a problem with selection in the Details view.
Notebook
- Corrected the logic which selects the page verifier to use when changing
pages.
New Classes
ManagedContainer
This class provides an extension to the DataContainer class to add automatic
coordination between the container and its list of ContainerItems.
Utilities
This class is an internal class which contains code common across
various other classes.
NBRenderer
This interface is an internal interface in support of the Notebook
control.
NBSimpleLook
This class is an internal class which supports the Simple
look of a Notebook control.
NBSpiralLook
This class is an internal class which supports the Spiral
look of a Notebook control.
Enhancements
Notebook
- This class has been completely reweritten. There is a significant
performance increase, especially when changing the look or tab position.
- Tabs can now be any object, not just Strings. If a tab is an instance of
java.awt.Image, it will be drawn as one.
- Proper handling for when there are more tabs than room in the window has
now been added. When using Top and Bottom tab locations in the
Simple style, tabs will auto-arrainge themselves into multiple rows of
tabs as necessary. In all other tab location/style combinations, scroll
buttons are used.
- The foreground and background colors of the tabs may now be individually
specified.
- Changing the notebook style or tab location no longer resets the notebook
to the first page. The current page remains the same.
- HotSpots are now used for mouse click handling.
- Renamed the Plain constant to Simple.
- Renamed the Fancy constant to Spiral.
- Added the Separator constant.
- The NBBorder, NBStatusBar and TabSet classes have been retired.
- Added the turnToPage() method.
- Added the getOrientation() method.
- Added the getStyle() method.
- Added two overloads for the addPage() method.
DataContainer
- Made the column titles in the Details view more subtle.
- Made the getRoot() method public.
- Added the refresh() method.
GroupBox
- Added the setText() method.
HotSpot
ADate
- Updated the default toString() method to return the date using the
currently set separator. The default separator is the dash character, ('-'),
giving the date in ISO format.
- Added the setSeparator() method.
Version 2.11 released on 12/10/96
Bug Fixes
ContainerItem
- Corrected some inconsistencies with, and a bug in, the way the ContainerItem
internal sibling linked list is managed.
ManagedContainer
- Corrected a couple of problems related to the ContainerItem issues
mentioned above.
Notebook
- Corrected a problem when a notebook is used in an applet which caused an
NegativeArrayIndexException.
[
Previous section |
Latest changes |
Table of Contents
]