类的用途
javax.swing.JTree.DropLocation
使用 JTree.DropLocation 的包
包
描述
提供一组“轻量级”(全 Java 语言)组件,尽可能在所有平台上以相同的方式工作。
提供根据基本外观构建的用户界面对象。
-
JTree.DropLocation 在 javax.swing 中的用法
javax.swing 中返回 JTree.DropLocation 的方法修饰符和类型方法描述final JTree.DropLocationJTree.getDropLocation()返回此组件在组件上的 DnD 操作期间应直观指示为放置位置的位置,如果当前没有要显示的位置,则返回null。 -
JTree.DropLocation 在 javax.swing.plaf.basic 中的用法
javax.swing.plaf.basic 中的方法,参数类型为 JTree.DropLocation修饰符和类型方法描述protected RectangleBasicTreeUI.getDropLineRect(JTree.DropLocation loc) 返回下垂线的无边界框。protected booleanBasicTreeUI.isDropLine(JTree.DropLocation loc) 告知DropLocation是否应由节点之间的线表示。