scalebarobj.java

来自「Welcome to MS4W, the no fuss installer f」· Java 代码 · 共 151 行

JAVA
151
字号
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version: 1.3.21 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */package edu.umn.gis.mapscript;public class scalebarObj {  private long swigCPtr;  protected boolean swigCMemOwn;  protected scalebarObj(long cPtr, boolean cMemoryOwn) {    swigCMemOwn = cMemoryOwn;    swigCPtr = cPtr;  }  protected void finalize() {    delete();  }  public void delete() {    if(swigCPtr != 0 && swigCMemOwn) {      swigCMemOwn = false;      mapscriptJNI.delete_scalebarObj(swigCPtr);    }    swigCPtr = 0;  }  protected static long getCPtr(scalebarObj obj) {    return (obj == null) ? 0 : obj.swigCPtr;  }  public void setImagecolor(colorObj imagecolor) {    mapscriptJNI.set_scalebarObj_imagecolor(swigCPtr, colorObj.getCPtr(imagecolor));  }  public colorObj getImagecolor() {    long cPtr = mapscriptJNI.get_scalebarObj_imagecolor(swigCPtr);    return (cPtr == 0) ? null : new colorObj(cPtr, false);  }  public void setHeight(int height) {    mapscriptJNI.set_scalebarObj_height(swigCPtr, height);  }  public int getHeight() {    return mapscriptJNI.get_scalebarObj_height(swigCPtr);  }  public void setWidth(int width) {    mapscriptJNI.set_scalebarObj_width(swigCPtr, width);  }  public int getWidth() {    return mapscriptJNI.get_scalebarObj_width(swigCPtr);  }  public void setStyle(int style) {    mapscriptJNI.set_scalebarObj_style(swigCPtr, style);  }  public int getStyle() {    return mapscriptJNI.get_scalebarObj_style(swigCPtr);  }  public void setIntervals(int intervals) {    mapscriptJNI.set_scalebarObj_intervals(swigCPtr, intervals);  }  public int getIntervals() {    return mapscriptJNI.get_scalebarObj_intervals(swigCPtr);  }  public void setLabel(labelObj label) {    mapscriptJNI.set_scalebarObj_label(swigCPtr, labelObj.getCPtr(label));  }  public labelObj getLabel() {    long cPtr = mapscriptJNI.get_scalebarObj_label(swigCPtr);    return (cPtr == 0) ? null : new labelObj(cPtr, false);  }  public void setColor(colorObj color) {    mapscriptJNI.set_scalebarObj_color(swigCPtr, colorObj.getCPtr(color));  }  public colorObj getColor() {    long cPtr = mapscriptJNI.get_scalebarObj_color(swigCPtr);    return (cPtr == 0) ? null : new colorObj(cPtr, false);  }  public void setBackgroundcolor(colorObj backgroundcolor) {    mapscriptJNI.set_scalebarObj_backgroundcolor(swigCPtr, colorObj.getCPtr(backgroundcolor));  }  public colorObj getBackgroundcolor() {    long cPtr = mapscriptJNI.get_scalebarObj_backgroundcolor(swigCPtr);    return (cPtr == 0) ? null : new colorObj(cPtr, false);  }  public void setOutlinecolor(colorObj outlinecolor) {    mapscriptJNI.set_scalebarObj_outlinecolor(swigCPtr, colorObj.getCPtr(outlinecolor));  }  public colorObj getOutlinecolor() {    long cPtr = mapscriptJNI.get_scalebarObj_outlinecolor(swigCPtr);    return (cPtr == 0) ? null : new colorObj(cPtr, false);  }  public void setUnits(int units) {    mapscriptJNI.set_scalebarObj_units(swigCPtr, units);  }  public int getUnits() {    return mapscriptJNI.get_scalebarObj_units(swigCPtr);  }  public void setStatus(int status) {    mapscriptJNI.set_scalebarObj_status(swigCPtr, status);  }  public int getStatus() {    return mapscriptJNI.get_scalebarObj_status(swigCPtr);  }  public void setPosition(int position) {    mapscriptJNI.set_scalebarObj_position(swigCPtr, position);  }  public int getPosition() {    return mapscriptJNI.get_scalebarObj_position(swigCPtr);  }  public void setPostlabelcache(int postlabelcache) {    mapscriptJNI.set_scalebarObj_postlabelcache(swigCPtr, postlabelcache);  }  public int getPostlabelcache() {    return mapscriptJNI.get_scalebarObj_postlabelcache(swigCPtr);  }  public scalebarObj() {    this(mapscriptJNI.new_scalebarObj(), true);  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?