亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? basictextui.java

?? JAVA的一些源碼 JAVA2 STANDARD EDITION DEVELOPMENT KIT 5.0
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
        }        Document doc = editor.getDocument();        String tt = null;        Rectangle alloc = getVisibleEditorRect();        if (alloc != null) {            if (doc instanceof AbstractDocument) {                ((AbstractDocument)doc).readLock();            }            try {                tt = rootView.getToolTipText(pt.x, pt.y, alloc);            } finally {                if (doc instanceof AbstractDocument) {                    ((AbstractDocument)doc).readUnlock();                }            }        }        return tt;    }    // --- ViewFactory methods ------------------------------    /**     * Creates a view for an element.     * If a subclass wishes to directly implement the factory     * producing the view(s), it should reimplement this      * method.  By default it simply returns null indicating     * it is unable to represent the element.     *     * @param elem the element     * @return the view     */    public View create(Element elem) {        return null;    }    /**     * Creates a view for an element.     * If a subclass wishes to directly implement the factory     * producing the view(s), it should reimplement this      * method.  By default it simply returns null indicating     * it is unable to represent the part of the element.     *     * @param elem the element     * @param p0 the starting offset >= 0     * @param p1 the ending offset >= p0     * @return the view     */    public View create(Element elem, int p0, int p1) {        return null;    }    public static class BasicCaret extends DefaultCaret implements UIResource {}    public static class BasicHighlighter extends DefaultHighlighter implements UIResource {}    // ----- member variables ---------------------------------------    private static final EditorKit defaultKit = new DefaultEditorKit();    transient JTextComponent editor;    transient boolean painted;    transient RootView rootView = new RootView();    transient UpdateHandler updateHandler = new UpdateHandler();    private static final TransferHandler defaultTransferHandler = new TextTransferHandler();    private static DropTargetListener defaultDropTargetListener = null;    private final DragListener dragListener = getDragListener();    private static final Position.Bias[] discardBias = new Position.Bias[1];    /**     * Root view that acts as a gateway between the component     * and the View hierarchy.     */    class RootView extends View {        RootView() {            super(null);        }        void setView(View v) {            View oldView = view;            view = null;            if (oldView != null) {                // get rid of back reference so that the old                // hierarchy can be garbage collected.                oldView.setParent(null);            }            if (v != null) {                v.setParent(this);            }            view = v;        }	/**	 * Fetches the attributes to use when rendering.  At the root	 * level there are no attributes.  If an attribute is resolved	 * up the view hierarchy this is the end of the line.	 */        public AttributeSet getAttributes() {	    return null;	}        /**         * Determines the preferred span for this view along an axis.         *         * @param axis may be either X_AXIS or Y_AXIS         * @return the span the view would like to be rendered into.         *         Typically the view is told to render into the span         *         that is returned, although there is no guarantee.         *         The parent may choose to resize or break the view.         */        public float getPreferredSpan(int axis) {            if (view != null) {                return view.getPreferredSpan(axis);            }            return 10;        }        /**         * Determines the minimum span for this view along an axis.         *         * @param axis may be either X_AXIS or Y_AXIS         * @return the span the view would like to be rendered into.         *         Typically the view is told to render into the span         *         that is returned, although there is no guarantee.         *         The parent may choose to resize or break the view.         */        public float getMinimumSpan(int axis) {            if (view != null) {                return view.getMinimumSpan(axis);            }            return 10;        }        /**         * Determines the maximum span for this view along an axis.         *         * @param axis may be either X_AXIS or Y_AXIS         * @return the span the view would like to be rendered into.         *         Typically the view is told to render into the span         *         that is returned, although there is no guarantee.         *         The parent may choose to resize or break the view.         */        public float getMaximumSpan(int axis) {	    return Integer.MAX_VALUE;        }        /**         * Specifies that a preference has changed.         * Child views can call this on the parent to indicate that         * the preference has changed.  The root view routes this to         * invalidate on the hosting component.         * <p>         * This can be called on a different thread from the         * event dispatching thread and is basically unsafe to         * propagate into the component.  To make this safe,         * the operation is transferred over to the event dispatching          * thread for completion.  It is a design goal that all view         * methods be safe to call without concern for concurrency,         * and this behavior helps make that true.         *         * @param child the child view         * @param width true if the width preference has changed         * @param height true if the height preference has changed         */         public void preferenceChanged(View child, boolean width, boolean height) {            editor.revalidate();        }        /**         * Determines the desired alignment for this view along an axis.         *         * @param axis may be either X_AXIS or Y_AXIS         * @return the desired alignment, where 0.0 indicates the origin         *     and 1.0 the full span away from the origin         */        public float getAlignment(int axis) {            if (view != null) {                return view.getAlignment(axis);            }            return 0;        }        /**         * Renders the view.         *         * @param g the graphics context         * @param allocation the region to render into         */        public void paint(Graphics g, Shape allocation) {            if (view != null) {                Rectangle alloc = (allocation instanceof Rectangle) ?		          (Rectangle)allocation : allocation.getBounds();		setSize(alloc.width, alloc.height);                view.paint(g, allocation);            }        }                /**         * Sets the view parent.         *         * @param parent the parent view         */        public void setParent(View parent) {            throw new Error("Can't set parent on root view");        }        /**          * Returns the number of views in this view.  Since         * this view simply wraps the root of the view hierarchy         * it has exactly one child.         *         * @return the number of views         * @see #getView         */        public int getViewCount() {            return 1;        }        /**          * Gets the n-th view in this container.         *         * @param n the number of the view to get         * @return the view         */        public View getView(int n) {            return view;        }	/**	 * Returns the child view index representing the given position in	 * the model.  This is implemented to return the index of the only	 * child.	 *	 * @param pos the position >= 0	 * @return  index of the view representing the given position, or 	 *   -1 if no view represents that position	 * @since 1.3	 */        public int getViewIndex(int pos, Position.Bias b) {	    return 0;	}            /**         * Fetches the allocation for the given child view.          * This enables finding out where various views         * are located, without assuming the views store         * their location.  This returns the given allocation         * since this view simply acts as a gateway between         * the view hierarchy and the associated component.         *         * @param index the index of the child         * @param a  the allocation to this view.         * @return the allocation to the child         */        public Shape getChildAllocation(int index, Shape a) {            return a;        }        /**         * Provides a mapping from the document model coordinate space         * to the coordinate space of the view mapped to it.         *         * @param pos the position to convert         * @param a the allocated region to render into         * @return the bounding box of the given position         */        public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException {            if (view != null) {                return view.modelToView(pos, a, b);            }            return null;        }	/**	 * Provides a mapping from the document model coordinate space	 * to the coordinate space of the view mapped to it.	 *	 * @param p0 the position to convert >= 0	 * @param b0 the bias toward the previous character or the	 *  next character represented by p0, in case the 	 *  position is a boundary of two views. 	 * @param p1 the position to convert >= 0	 * @param b1 the bias toward the previous character or the	 *  next character represented by p1, in case the 	 *  position is a boundary of two views. 	 * @param a the allocated region to render into	 * @return the bounding box of the given position is returned	 * @exception BadLocationException  if the given position does	 *   not represent a valid location in the associated document	 * @exception IllegalArgumentException for an invalid bias argument	 * @see View#viewToModel	 */	public Shape modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a) throws BadLocationException {	    if (view != null) {		return view.modelToView(p0, b0, p1, b1, a);	    }	    return null;	}        /**         * Provides a mapping from the view coordinate space to the logical         * coordinate space of the model.         *         * @param x x coordinate of the view location to convert         * @param y y coordinate of the view location to convert         * @param a the allocated region to render into         * @return the location within the model that best represents the         *    given point in the view         */        public int viewToModel(float x, float y, Shape a, Position.Bias[] bias) {            if (view != null) {                int retValue = view.viewToModel(x, y, a, bias);		return retValue;            }            return -1;        }        /**         * Provides a way to determine the next visually represented model          * location that one might place a caret.  Some views may not be visible,         * they might not be in the same order found in the model, or they just         * might not allow access to some of the locations in the model.         *         * @param pos the position to convert >= 0         * @param a the allocated region to render into         * @param direction the direction from the current position that can         *  be thought of as the arrow keys typically found on a keyboard.         *  This may be SwingConstants.WEST, SwingConstants.EAST,          *  SwingConstants.NORTH, or SwingConstants.SOUTH.           * @return the location within the model that best represents the next         *  location visual position.         * @exception BadLocationException         * @exception IllegalArgumentException for an invalid direction         */        public int getNextVisualPositionFrom(int pos, Position.Bias b, Shape a,                                              int direction,                                             Position.Bias[] biasRet)             throws BadLocationException {            if( view != null ) {                int nextPos = view.getNextVisualPositionFrom(pos, b, a,						     direction, biasRet);		if(nextPos != -1) {		    pos = nextPos;		}		else {		    biasRet[0] = b;		}            }             return pos;        }        /**         * Gives notification that something was inserted into the document         * in a location that this view is responsible for.         *         * @param e the change information from the associated document         * @param a the current allocation of the view         * @param f the factory to use to rebuild if the view has children         */        public void insertUpdate(DocumentEvent e, Shape a, ViewFactory f) {            if (view != null) {                view.insertUpdate(e, a, f);            }        }                /**         * Gives notification that something was removed from the document         * in a location that this view is responsible for.         *         * @param e the change information from the associated document         * @param a the current allocation of the view         * @param f the factory to use to rebuild if the view has children         */        public void removeUpdate(DocumentEvent e, Shape a, ViewFactory f) {            if (view != null) {                view.removeUpdate(e, a, f);            }        }        /**

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区三区中文字幕| 国产aⅴ精品一区二区三区色成熟| 久久精品久久综合| 成人v精品蜜桃久久一区| 欧美精品日韩一本| 国产精品毛片久久久久久久| 日本va欧美va瓶| 91蜜桃免费观看视频| 久久午夜电影网| 免费在线观看日韩欧美| 一本久久a久久精品亚洲| xnxx国产精品| 美女免费视频一区二区| 久久久久久**毛片大全| 亚洲一区av在线| 亚洲成人黄色影院| 高清不卡在线观看av| 3751色影院一区二区三区| 中文字幕亚洲精品在线观看| 精品毛片乱码1区2区3区 | 亚洲精品一二三四区| 亚洲欧美国产毛片在线| 香蕉影视欧美成人| 久久精品国产亚洲a| 成人av动漫在线| 欧美老人xxxx18| 精品久久国产字幕高潮| 国产精品毛片大码女人| 亚洲成a人片在线观看中文| 久色婷婷小香蕉久久| 9人人澡人人爽人人精品| 欧美制服丝袜第一页| 欧美精品一区二区精品网| 国产精品久久久久久久久免费樱桃| 亚洲精品高清视频在线观看| 日本一不卡视频| 成人激情免费视频| 欧美丰满一区二区免费视频| 国产欧美一区二区三区沐欲| 亚洲国产成人av好男人在线观看| 免费成人在线网站| 白白色亚洲国产精品| 欧美一区在线视频| ●精品国产综合乱码久久久久| 亚洲bdsm女犯bdsm网站| 丁香啪啪综合成人亚洲小说| 欧美色老头old∨ideo| 久久久久九九视频| 午夜激情综合网| 91浏览器入口在线观看| 精品国产欧美一区二区| 午夜影院久久久| 91亚洲国产成人精品一区二区三| 日韩欧美色电影| 亚洲午夜精品一区二区三区他趣| 粉嫩av一区二区三区| 6080日韩午夜伦伦午夜伦| 亚洲丝袜制服诱惑| 国产激情精品久久久第一区二区 | 日本在线不卡视频一二三区| 91视频免费观看| 国产偷国产偷精品高清尤物 | 精品国产1区2区3区| 亚洲va在线va天堂| 欧美自拍丝袜亚洲| 18欧美亚洲精品| 成人福利视频在线看| 久久久久久久久久久久电影| 青青草原综合久久大伊人精品优势| 91麻豆swag| 一区二区在线观看免费| 99re6这里只有精品视频在线观看| 久久久久久久综合色一本| 亚洲成人手机在线| 欧美精品久久天天躁| 亚洲综合色网站| 欧美三级午夜理伦三级中视频| 亚洲六月丁香色婷婷综合久久 | 久久电影网站中文字幕| 欧美一区二区精品在线| 日韩av在线播放中文字幕| 欧美精品乱人伦久久久久久| 婷婷久久综合九色综合绿巨人| 欧美美女黄视频| 美美哒免费高清在线观看视频一区二区 | 一区二区三区在线看| 色中色一区二区| 亚洲激情综合网| 欧美伊人精品成人久久综合97| 伊人婷婷欧美激情| 欧美日韩中文字幕一区| 丝袜亚洲精品中文字幕一区| 91精品在线观看入口| 九九精品一区二区| 国产视频一区二区在线观看| 成人av在线资源网| 一区二区三区在线影院| 欧美一区二区三区视频| 国产在线麻豆精品观看| 国产女人18水真多18精品一级做| 国产69精品久久777的优势| 中文字幕不卡三区| 欧美性高清videossexo| 丝袜美腿亚洲色图| 久久综合给合久久狠狠狠97色69| 高清不卡一二三区| 亚洲成人激情综合网| 久久一留热品黄| 91高清视频免费看| 久久精品久久99精品久久| 中文字幕一区二区三区在线播放| 欧美三级视频在线观看| 国产精品香蕉一区二区三区| 一个色综合av| 2021中文字幕一区亚洲| 色网站国产精品| 国产伦理精品不卡| 婷婷久久综合九色综合伊人色| 中文欧美字幕免费| 日韩视频在线永久播放| 色婷婷av一区二区三区gif| 国内不卡的二区三区中文字幕| 亚洲美女视频一区| 久久久久久久久免费| 欧美伊人精品成人久久综合97| 国产成人自拍高清视频在线免费播放| 亚洲一区影音先锋| 自拍偷在线精品自拍偷无码专区| 日韩一区二区三区在线| 在线免费精品视频| 不卡的av中国片| 国产精品亚洲成人| 精品制服美女久久| 日日骚欧美日韩| 亚洲成人激情自拍| 亚洲综合一区在线| 亚洲色图色小说| 国产精品国产精品国产专区不蜜| 精品国产髙清在线看国产毛片| 欧美亚州韩日在线看免费版国语版| 丁香婷婷综合五月| 国产精品综合视频| 国产精品亚洲一区二区三区妖精| 日本欧美一区二区| 日韩和欧美的一区| 日韩av不卡在线观看| 婷婷综合在线观看| 日韩国产高清影视| 爽好多水快深点欧美视频| 亚洲自拍偷拍av| 亚洲小说春色综合另类电影| 亚洲精品菠萝久久久久久久| 亚洲欧美日韩一区| 亚洲精品日日夜夜| 亚洲精品国产一区二区精华液 | 欧美日韩三级视频| 欧美视频一区二区三区在线观看| 91国内精品野花午夜精品| 不卡的电视剧免费网站有什么| 波多野结衣精品在线| 91尤物视频在线观看| 91免费国产在线| 欧美色中文字幕| 日韩一区二区精品| 精品福利一二区| 国产精品毛片a∨一区二区三区| 中文字幕一区二区不卡| 亚洲精品视频免费看| 亚洲午夜私人影院| 免费观看成人av| 国产精品系列在线播放| 不卡视频在线观看| 欧美日韩情趣电影| 日韩亚洲欧美综合| 国产精品污污网站在线观看| 亚洲黄色小视频| 五月激情六月综合| 国产精品影视天天线| 91麻豆国产精品久久| 91精品婷婷国产综合久久性色 | 亚洲另类色综合网站| 午夜亚洲国产au精品一区二区| 毛片基地黄久久久久久天堂| 国产成a人亚洲| 欧美日韩一区二区三区高清 | 91久久精品一区二区三| 精品免费国产一区二区三区四区| 国产精品毛片久久久久久久| 亚洲国产aⅴ成人精品无吗| 青青草原综合久久大伊人精品优势| 国产精品66部| 欧美在线免费播放| 久久精品一区八戒影视| 午夜国产精品一区| 成人小视频免费观看| 欧美日韩国产成人在线91| 国产亲近乱来精品视频| 琪琪久久久久日韩精品| 色综合天天综合色综合av | 麻豆国产精品官网|