NSOutlineView in Java
NSOutlineView in Java
- Subject: NSOutlineView in Java
- From: Sandeep Parikh <email@hidden>
- Date: Mon, 18 Jun 2001 15:59:26 -0700
Has anyone attempted to implement NSOutlineView in a Cocoa-Java
application? I'm working on implementing the methods for my data source
class and this is what I have so far...:
public class dataSource extends NSObject {
public Object outliveViewChildOfItem(NSOutlineView outlineView, int
index, Object item) {
}
public boolean outlineViewIsItemExpandable(NSOutlineView
outlineView, Object item) {
}
public int outlineViewNumberOfChildrenOfItem(NSOutlineView
outlineView, Object item) {
}
public Object outlineViewObjectValueForItem(NSOutlineView
outlineView, NSTableColumn tableColumn, Object item) {
}
}
yet when I run my app, the following error appears in the Project
Builder's window:
Must implement outlineView:numberOfChildrenOfItem:,
outlineView:isItemExpandable:, outlineView:child:ofItem: and
outlineView:objectValueForTableColumn:byItem:
anyone know what to do from here?
-Sandeep