• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help - Programmatically creating bindings in Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help - Programmatically creating bindings in Java


  • Subject: Re: Help - Programmatically creating bindings in Java
  • From: Robert La Ferla <email@hidden>
  • Date: Thu, 08 Jan 2004 20:40:47 -0500

I think bind is on NSObject or some other top level class. I'm not at my Mac so I can't check it right now. I couldn't find any Java examples of NSController. Just ObjC examples. Anyone successfully using NSController w/Java?


Michael Hall wrote:


On Thursday, January 8, 2004, at 02:15 PM, email@hidden wrote:

NSTableColumn myTableColumn;

myTableColumn.bind("backgroundColor", myArrayController, "arrangedObjects.color", myDict);


Uh, I don't see a bind method at all. Bad doc?

showc: invoked with: com.apple.cocoa.application.NSTableColumn
public class com.apple.cocoa.application.NSTableColumn extends com.apple.cocoa.foundation.NSObject {
// Constructors
public com.apple.cocoa.application.NSTableColumn();
protected com.apple.cocoa.application.NSTableColumn(boolean, int);
public com.apple.cocoa.application.NSTableColumn(java.lang.Object);
// Fields
// Methods
public native void setTableView(com.apple.cocoa.application.NSTableView);
public native com.apple.cocoa.application.NSTableView tableView();
public native void setHeaderCell(com.apple.cocoa.application.NSCell);
public native void setDataCell(com.apple.cocoa.application.NSCell);
public native void sizeToFit();
public native com.apple.cocoa.application.NSCell headerCell();
public native com.apple.cocoa.application.NSCell dataCell();
public native com.apple.cocoa.application.NSCell dataCellForRow(int);
private native void initWithIdentifier(java.lang.Object);
private void init();
private native void initNative();
public native float width();
public native boolean isResizable();
public native void setResizable(boolean);
public native boolean isEditable();
public native void setWidth(float);
public native void setEditable(boolean);
public native float minWidth();
public native java.lang.Object identifier();
public native float maxWidth();
public native void setIdentifier(java.lang.Object);
public native void setMinWidth(float);
public native void setMaxWidth(float);
}

Mike Hall <mikehall at spacestar dot net>
<http://www.spacestar.net/users/mikehall>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Thinking about shareware prices...
  • Next by Date: NSView rotation confusion
  • Previous by thread: Help - Programmatically creating bindings in Java
  • Next by thread: Distributed Object problems
  • Index(es):
    • Date
    • Thread