📄 legendobj.java
字号:
/* ---------------------------------------------------------------------------- * 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 legendObj { private long swigCPtr; protected boolean swigCMemOwn; protected legendObj(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected void finalize() { delete(); } public void delete() { if(swigCPtr != 0 && swigCMemOwn) { swigCMemOwn = false; mapscriptJNI.delete_legendObj(swigCPtr); } swigCPtr = 0; } protected static long getCPtr(legendObj obj) { return (obj == null) ? 0 : obj.swigCPtr; } public void setImagecolor(colorObj imagecolor) { mapscriptJNI.set_legendObj_imagecolor(swigCPtr, colorObj.getCPtr(imagecolor)); } public colorObj getImagecolor() { long cPtr = mapscriptJNI.get_legendObj_imagecolor(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setLabel(labelObj label) { mapscriptJNI.set_legendObj_label(swigCPtr, labelObj.getCPtr(label)); } public labelObj getLabel() { long cPtr = mapscriptJNI.get_legendObj_label(swigCPtr); return (cPtr == 0) ? null : new labelObj(cPtr, false); } public void setKeysizex(int keysizex) { mapscriptJNI.set_legendObj_keysizex(swigCPtr, keysizex); } public int getKeysizex() { return mapscriptJNI.get_legendObj_keysizex(swigCPtr); } public void setKeysizey(int keysizey) { mapscriptJNI.set_legendObj_keysizey(swigCPtr, keysizey); } public int getKeysizey() { return mapscriptJNI.get_legendObj_keysizey(swigCPtr); } public void setKeyspacingx(int keyspacingx) { mapscriptJNI.set_legendObj_keyspacingx(swigCPtr, keyspacingx); } public int getKeyspacingx() { return mapscriptJNI.get_legendObj_keyspacingx(swigCPtr); } public void setKeyspacingy(int keyspacingy) { mapscriptJNI.set_legendObj_keyspacingy(swigCPtr, keyspacingy); } public int getKeyspacingy() { return mapscriptJNI.get_legendObj_keyspacingy(swigCPtr); } public void setOutlinecolor(colorObj outlinecolor) { mapscriptJNI.set_legendObj_outlinecolor(swigCPtr, colorObj.getCPtr(outlinecolor)); } public colorObj getOutlinecolor() { long cPtr = mapscriptJNI.get_legendObj_outlinecolor(swigCPtr); return (cPtr == 0) ? null : new colorObj(cPtr, false); } public void setStatus(int status) { mapscriptJNI.set_legendObj_status(swigCPtr, status); } public int getStatus() { return mapscriptJNI.get_legendObj_status(swigCPtr); } public void setHeight(int height) { mapscriptJNI.set_legendObj_height(swigCPtr, height); } public int getHeight() { return mapscriptJNI.get_legendObj_height(swigCPtr); } public void setWidth(int width) { mapscriptJNI.set_legendObj_width(swigCPtr, width); } public int getWidth() { return mapscriptJNI.get_legendObj_width(swigCPtr); } public void setPosition(int position) { mapscriptJNI.set_legendObj_position(swigCPtr, position); } public int getPosition() { return mapscriptJNI.get_legendObj_position(swigCPtr); } public void setPostlabelcache(int postlabelcache) { mapscriptJNI.set_legendObj_postlabelcache(swigCPtr, postlabelcache); } public int getPostlabelcache() { return mapscriptJNI.get_legendObj_postlabelcache(swigCPtr); } public void setTemplate(String template) { mapscriptJNI.set_legendObj_template(swigCPtr, template); } public String getTemplate() { return mapscriptJNI.get_legendObj_template(swigCPtr); } public void setMap(mapObj map) { mapscriptJNI.set_legendObj_map(swigCPtr, mapObj.getCPtr(map)); } public mapObj getMap() { long cPtr = mapscriptJNI.get_legendObj_map(swigCPtr); return (cPtr == 0) ? null : new mapObj(cPtr, false); } public legendObj() { this(mapscriptJNI.new_legendObj(), true); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -