javaÓïÑÔ for ArcGis¼òµ¥»æͼ
package demo1;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.LayoutManager;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.io.IOException;
import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.plaf.basic.BasicBorders;
import com.esri.arcgis.beans.map.MapBean;
import com.esri.arcgis.carto.CircleElement;
import com.esri.arcgis.carto.IActiveView;
import com.esri.arcgis.carto.IElement;
import com.esri.arcgis.carto.IEnumElement;
import com.esri.arcgis.carto.IFillShapeElement;
import com.esri.arcgis.carto.IGraphicsContainer;
import com.esri.arcgis.carto.ILineElement;
import com.esri.arcgis.carto.LineElement;
import com.esri.arcgis.carto.PolygonElement;
import com.esri.arcgis.carto.RectangleElement;
import com.esri.arcgis.carto.esriViewDrawPhase;
import com.esri.arcgis.controls.IMapControlEvents2Adapter;
import com.esri.arcgis.controls.IMapControlEvents2OnDoubleClickEvent;
import com.esri.arcgis.controls.IMapControlEvents2OnMouseDownEvent;
import com.esri.arcgis.controls.IMapControlEvents2OnMouseMoveEvent;
import com.esri.arcgis.controls.IMapControlEvents2OnMouseUpEvent;
import com.esri.arcgis.controls.MapControl;
import com.esri.arcgis.display.IColor;
import com.esri.arcgis.display.IDisplayFeedback;
import com.esri.arcgis.display.ILineMovePointFeedback;
import com.esri.arcgis.display.IMoveGeometryFeedback;
import com.esri.arcgis.display.INewBezierCurveFeedback;
import com.esri.arcgis.display.INewCircleFeedback;
import com.esri.arcgis.display.INewEnvelopeFeedb
Ïà¹ØÎĵµ£º
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......
declarations n. ÉùÃ÷
extends v. ¼Ì³Ð
¼Ì³ÐÖÐ×¢ÒâµÄÎÊÌ⣺
1 ÖØд(Ò²½Ð¸²¸Ç£¬Ò²½ÐÖع¹)£ºÖØд·½·¨±ØÐëºÍ±»ÖØд·½·¨¾ßÓÐÏàͬµÄ·½·¨Ãû³Æ¡¢²ÎÊýÁбíºÍ·µ»ØÖµÀàÐÍ£»
ÖØд·½·¨²»ÄÜʹÓñȱ»ÖØд·½·¨¸üÑϸñµÄ·ÃÎÊȨÏÞ¡£
ÖØдÊÇÀàÓëÀà ......
==²Ù×÷·ûÓëequals·½·¨µÄÇø±ð£º
==ÊÇÒýÓÃÀàÐͱȽÏÒýÓÃ(Ò²¾ÍÊDZȽÏÄÚÈݺ͵ØÖ·)£»»ù±¾ÀàÐͱȽÏÖµ£»
equals()·½·¨Ö»ÄܱȽÏÒýÓÃÀàÐÍ£¬"=="¿ÉÒԱȽÏÒýÓÃÀàÐͼ°»ù±¾ÀàÐÍ£»
ÌØÀý£ºµ±ÓÃequals()·½·¨½øÐбȽÏʱ£¬¶ÔÀàFile¡¢String¡¢Date¼°·â×°ÀࣨWrapper°ü×° ......
·â×°ÀàÒ²½Ð°ü×°À࣬ÊÇÕë¶Ô°ËÖÖ»ù±¾¶¨ÒåÏàÓ¦µÄÒýÓÃÀàÐÍ¡£
»ù±¾Êý¾ÝÀàÐÍ ·â×°Àà
boolean &nbs ......
JavaÈÕ»ýÔÂÀÛ-1£ºJavaÖÐbooleanÀàÐ͵ÄλÔËËã
1. Ê×ÏȻعËÒ»ÏÂjavaÖеÄ8Öлù±¾ÀàÐͼ°Æä´æ´¢ËùÕ¼ÓõÄbitÊý¡£
ÀàÐÍ
bitÊý
byte
8
short
16
int
32
float
32
long
64
double
64
char
16
boolean
1
2. ÔٻعËÒ»ÏÂjavaµÄÔËËã·ûºÍÓÅÏȼ ......