Example #1
0
  public void open() {
    final com.apple.jobjc.Invoke.MsgSend open_IMetInst = get_open_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    open_IMetInst.init(nativeBuffer, this);
    open_IMetInst.invoke(nativeBuffer);
  }
  public void flushCachedData() {
    final com.apple.jobjc.Invoke.MsgSend flushCachedData_IMetInst = get_flushCachedData_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    flushCachedData_IMetInst.init(nativeBuffer, this);
    flushCachedData_IMetInst.invoke(nativeBuffer);
  }
  public void stopMonitoring() {
    final com.apple.jobjc.Invoke.MsgSend stopMonitoring_IMetInst = get_stopMonitoring_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    stopMonitoring_IMetInst.init(nativeBuffer, this);
    stopMonitoring_IMetInst.invoke(nativeBuffer);
  }
  public void removeAllItems() {
    final com.apple.jobjc.Invoke.MsgSend removeAllItems_IMetInst = get_removeAllItems_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    removeAllItems_IMetInst.init(nativeBuffer, this);
    removeAllItems_IMetInst.invoke(nativeBuffer);
  }
Example #5
0
  public void toggle(final com.apple.jobjc.ID sender) {
    final com.apple.jobjc.Invoke.MsgSend toggle_IMetInst = get_toggle_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    toggle_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, sender);
    toggle_IMetInst.invoke(nativeBuffer);
  }
  public void noteNumberOfItemsChanged() {
    final com.apple.jobjc.Invoke.MsgSend noteNumberOfItemsChanged_IMetInst =
        get_noteNumberOfItemsChanged_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    noteNumberOfItemsChanged_IMetInst.init(nativeBuffer, this);
    noteNumberOfItemsChanged_IMetInst.invoke(nativeBuffer);
  }
  public void beginLoadInBackground() {
    final com.apple.jobjc.Invoke.MsgSend beginLoadInBackground_IMetInst =
        get_beginLoadInBackground_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    beginLoadInBackground_IMetInst.init(nativeBuffer, this);
    beginLoadInBackground_IMetInst.invoke(nativeBuffer);
  }
  public void removeClient(final com.apple.jobjc.ID client) {
    final com.apple.jobjc.Invoke.MsgSend removeClient_IMetInst = get_removeClient_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    removeClient_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, client);
    removeClient_IMetInst.invoke(nativeBuffer);
  }
Example #9
0
  public void setContentView(final com.apple.jobjc.appkit.NSView aView) {
    final com.apple.jobjc.Invoke.MsgSend setContentView_IMetInst = get_setContentView_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setContentView_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, aView);
    setContentView_IMetInst.invoke(nativeBuffer);
  }
  public void setItemHeight(final double itemHeight) {
    final com.apple.jobjc.Invoke.MsgSend setItemHeight_IMetInst = get_setItemHeight_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setItemHeight_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.MixedPrimitiveCoder.FloatDoubleCoder.push(nativeBuffer, itemHeight);
    setItemHeight_IMetInst.invoke(nativeBuffer);
  }
Example #11
0
  public void openOnEdge(final long edge) {
    final com.apple.jobjc.Invoke.MsgSend openOnEdge_IMetInst = get_openOnEdge_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    openOnEdge_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.MixedPrimitiveCoder.SIntULongLongCoder.push(nativeBuffer, edge);
    openOnEdge_IMetInst.invoke(nativeBuffer);
  }
Example #12
0
  public void setContentSize(final com.apple.jobjc.foundation.NSSize size) {
    final com.apple.jobjc.Invoke.MsgSend setContentSize_IMetInst = get_setContentSize_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setContentSize_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.foundation.NSSize.getStructCoder().push(nativeBuffer, size);
    setContentSize_IMetInst.invoke(nativeBuffer);
  }
Example #13
0
  public void setParentWindow(final com.apple.jobjc.appkit.NSWindow parent) {
    final com.apple.jobjc.Invoke.MsgSend setParentWindow_IMetInst = get_setParentWindow_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setParentWindow_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, parent);
    setParentWindow_IMetInst.invoke(nativeBuffer);
  }
  public void resetStandardUserDefaults() {
    final com.apple.jobjc.Invoke.MsgSend resetStandardUserDefaults_CMetInst =
        get_resetStandardUserDefaults_CMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    resetStandardUserDefaults_CMetInst.init(nativeBuffer, this);
    resetStandardUserDefaults_CMetInst.invoke(nativeBuffer);
  }
  public void setCompletes(final boolean completes) {
    final com.apple.jobjc.Invoke.MsgSend setCompletes_IMetInst = get_setCompletes_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setCompletes_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.push(nativeBuffer, completes);
    setCompletes_IMetInst.invoke(nativeBuffer);
  }
Example #16
0
  public void setDelegate(final com.apple.jobjc.ID anObject) {
    final com.apple.jobjc.Invoke.MsgSend setDelegate_IMetInst = get_setDelegate_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setDelegate_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, anObject);
    setDelegate_IMetInst.invoke(nativeBuffer);
  }
  public void selectItemAtIndex(final long index) {
    final com.apple.jobjc.Invoke.MsgSend selectItemAtIndex_IMetInst =
        get_selectItemAtIndex_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    selectItemAtIndex_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.MixedPrimitiveCoder.SIntSLongLongCoder.push(nativeBuffer, index);
    selectItemAtIndex_IMetInst.invoke(nativeBuffer);
  }
  public void backgroundLoadDidFailWithReason(final com.apple.jobjc.foundation.NSString reason) {
    final com.apple.jobjc.Invoke.MsgSend backgroundLoadDidFailWithReason_IMetInst =
        get_backgroundLoadDidFailWithReason_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    backgroundLoadDidFailWithReason_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, reason);
    backgroundLoadDidFailWithReason_IMetInst.invoke(nativeBuffer);
  }
Example #19
0
  public void setStartingItemNumber(final long itemNum) {
    final com.apple.jobjc.Invoke.MsgSend setStartingItemNumber_IMetInst =
        get_setStartingItemNumber_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setStartingItemNumber_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.MixedPrimitiveCoder.SIntSLongLongCoder.push(nativeBuffer, itemNum);
    setStartingItemNumber_IMetInst.invoke(nativeBuffer);
  }
  public void resolveWithTimeout(final double timeout) {
    final com.apple.jobjc.Invoke.MsgSend resolveWithTimeout_IMetInst =
        get_resolveWithTimeout_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    resolveWithTimeout_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.PrimitiveCoder.DoubleCoder.INST.push(nativeBuffer, timeout);
    resolveWithTimeout_IMetInst.invoke(nativeBuffer);
  }
  public void setHasVerticalScroller(final boolean flag) {
    final com.apple.jobjc.Invoke.MsgSend setHasVerticalScroller_IMetInst =
        get_setHasVerticalScroller_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    setHasVerticalScroller_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.push(nativeBuffer, flag);
    setHasVerticalScroller_IMetInst.invoke(nativeBuffer);
  }
  public void addItemsWithObjectValues(final com.apple.jobjc.foundation.NSArray objects) {
    final com.apple.jobjc.Invoke.MsgSend addItemsWithObjectValues_IMetInst =
        get_addItemsWithObjectValues_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    addItemsWithObjectValues_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, objects);
    addItemsWithObjectValues_IMetInst.invoke(nativeBuffer);
  }
  public void publishWithOptions(final long options) {
    final com.apple.jobjc.Invoke.MsgSend publishWithOptions_IMetInst =
        get_publishWithOptions_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    publishWithOptions_IMetInst.init(nativeBuffer, this);
    com.apple.jobjc.MixedPrimitiveCoder.UIntULongLongCoder.push(nativeBuffer, options);
    publishWithOptions_IMetInst.invoke(nativeBuffer);
  }
Example #24
0
  public com.apple.jobjc.appkit.NSView contentView() {
    final com.apple.jobjc.Invoke.MsgSend contentView_IMetInst = get_contentView_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    contentView_IMetInst.init(nativeBuffer, this);
    contentView_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.appkit.NSView returnValue =
        (com.apple.jobjc.appkit.NSView) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
Example #25
0
  public double trailingOffset() {
    final com.apple.jobjc.Invoke.MsgSend trailingOffset_IMetInst = get_trailingOffset_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    trailingOffset_IMetInst.init(nativeBuffer, this);
    trailingOffset_IMetInst.invoke(nativeBuffer);
    final double returnValue =
        (double) (com.apple.jobjc.MixedPrimitiveCoder.FloatDoubleCoder.popDouble(nativeBuffer));
    return returnValue;
  }
Example #26
0
  public long state() {
    final com.apple.jobjc.Invoke.MsgSend state_IMetInst = get_state_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    state_IMetInst.init(nativeBuffer, this);
    state_IMetInst.invoke(nativeBuffer);
    final long returnValue =
        (long) (com.apple.jobjc.MixedPrimitiveCoder.SIntSLongLongCoder.popLong(nativeBuffer));
    return returnValue;
  }
  public com.apple.jobjc.foundation.NSArray objectValues() {
    final com.apple.jobjc.Invoke.MsgSend objectValues_IMetInst = get_objectValues_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    objectValues_IMetInst.init(nativeBuffer, this);
    objectValues_IMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.foundation.NSArray returnValue =
        (com.apple.jobjc.foundation.NSArray) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return returnValue;
  }
  public <T extends com.apple.jobjc.ID> T data() {
    final com.apple.jobjc.Invoke.MsgSend data_CMetInst = get_data_CMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    data_CMetInst.init(nativeBuffer, this);
    data_CMetInst.invoke(nativeBuffer);
    final com.apple.jobjc.ID returnValue =
        (com.apple.jobjc.ID) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer));
    return (T) returnValue;
  }
  public double doubleValue() {
    final com.apple.jobjc.Invoke.MsgSend doubleValue_IMetInst = get_doubleValue_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    doubleValue_IMetInst.init(nativeBuffer, this);
    doubleValue_IMetInst.invoke(nativeBuffer);
    final double returnValue =
        (double) (com.apple.jobjc.PrimitiveCoder.DoubleCoder.INST.popDouble(nativeBuffer));
    return returnValue;
  }
  public boolean completes() {
    final com.apple.jobjc.Invoke.MsgSend completes_IMetInst = get_completes_IMetInst();

    final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState();
    completes_IMetInst.init(nativeBuffer, this);
    completes_IMetInst.invoke(nativeBuffer);
    final boolean returnValue =
        (boolean) (com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.popBoolean(nativeBuffer));
    return returnValue;
  }