META-INF.modules.java.desktop.classes.javax.swing.tree.VariableHeightLayoutCache.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.desktop Show documentation
Show all versions of java.desktop Show documentation
Bytecoder java.desktop Module
???? :?
$javax/swing/tree/AbstractLayoutCache ()V java/util/Stack
*javax/swing/tree/VariableHeightLayoutCache
tempStacks Ljava/util/Stack; java/util/Vector
visibleNodes Ljava/util/Vector; java/awt/Rectangle
boundsBuffer Ljava/awt/Rectangle; java/util/Hashtable
" # $ treePathMapping Ljava/util/Hashtable;
& ' ( setModel (Ljavax/swing/tree/TreeModel;)V
* + , rebuild (Z)V
. / 0
isRootVisible ()Z 2 3 4 root :Ljavax/swing/tree/VariableHeightLayoutCache$TreeStateNode;
6 7 8 9 : 8javax/swing/tree/VariableHeightLayoutCache$TreeStateNode updatePreferredSize (I)V
< = > insertElementAt (Ljava/lang/Object;I)V
@ A B size ()I
D E : removeElementAt G H I treeSelectionModel %Ljavax/swing/tree/TreeSelectionModel;
6 K L M getTreePath ()Ljavax/swing/tree/TreePath; O P Q R S #javax/swing/tree/TreeSelectionModel removeSelectionPath (Ljavax/swing/tree/TreePath;)V O U V resetRowSelection
X Y B getRowCount
[ \ ] getNode =(I)Ljavax/swing/tree/VariableHeightLayoutCache$TreeStateNode;
6 _ ` :
setYOrigin
b c : updateYLocationsFrom
e f visibleNodesChanged
h i , setRootVisible
k l B getRowHeight
n o : setRowHeight
q r invalidateSizes
t u v setNodeDimensions 8(Ljavax/swing/tree/AbstractLayoutCache$NodeDimensions;)V
x y z ensurePathIsExpanded (Ljavax/swing/tree/TreePath;Z)V
| } ~ getNodeForPath Y(Ljavax/swing/tree/TreePath;ZZ)Ljavax/swing/tree/VariableHeightLayoutCache$TreeStateNode;
6 ? ? makeVisible
6 ? ? collapse
6 ? ? 0 isVisible
6 ? ? 0
isExpanded ? ? ? updateNodeSizes Z
? ? ,
6 ? ? ?
getNodeBounds *(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
6 ? ? B getRow
6 ? ? markSizeInvalid
6 ? ? B
getYOrigin
6 ? ? B getPreferredHeight
? ? B getMaxNodeWidth
? ? ? getRowContainingYLocation (I)I ? Jjavax/swing/tree/VariableHeightLayoutCache$VisibleTreeStateNodeEnumeration
? ? ? i(Ljavax/swing/tree/VariableHeightLayoutCache;Ljavax/swing/tree/VariableHeightLayoutCache$TreeStateNode;)V
6 ? ? B getVisibleChildCount
6 ? ? deepMarkSizeInvalid
? ? 0 isFixedRowHeight
? ? ? ? ? javax/swing/event/TreeModelEvent getChildIndices ()[I
? ? ? getModel ()Ljavax/swing/tree/TreeModel;
? ? ? L ? sun/swing/SwingUtilities2 [(Ljavax/swing/event/TreeModelEvent;Ljavax/swing/tree/TreeModel;)Ljavax/swing/tree/TreePath;
6 ? ? ? getValue ()Ljava/lang/Object;
6 ? 9
6 ? ? 0 hasBeenExpanded
6 ? ? ?
getChildAt (I)Ljavax/swing/tree/TreeNode; ? ? ? treeModel Ljavax/swing/tree/TreeModel; ? ? ? ? ? javax/swing/tree/TreeModel getChild '(Ljava/lang/Object;I)Ljava/lang/Object;
6 ? ? ?
setUserObject (Ljava/lang/Object;)V ? ? ? rootVisible
6 ? ? B
getChildCount
? ? ? createNodeAt w(Ljavax/swing/tree/VariableHeightLayoutCache$TreeStateNode;I)Ljavax/swing/tree/VariableHeightLayoutCache$TreeStateNode; ? ? ? ? (Ljava/lang/Object;)I
6 ? ? ,
6 ? ? : remove
6 ? ? 0 isLeaf ? ? ? ? getRoot
? ? ? ? B javax/swing/tree/TreePath getPathCount
6 ? ? getParent ()Ljavax/swing/tree/TreeNode;
6 getIndex (Ljavax/swing/tree/TreeNode;)I
removeElement (Ljava/lang/Object;)Z
6
removeFromParent
6
, expand
put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
? &(Ljava/lang/Object;)Ljava/lang/Object;
get
clear
createNodeForValue N(Ljava/lang/Object;)Ljavax/swing/tree/VariableHeightLayoutCache$TreeStateNode;
?! ? 6#$% path Ljavax/swing/tree/TreePath;
'()
addMapping =(Ljavax/swing/tree/VariableHeightLayoutCache$TreeStateNode;)V
+, removeAllElements
./ ?
addElement
61
6345 children ()Ljava/util/Enumeration;789: 0 java/util/Enumeration hasMoreElements7<= ? nextElement O?@ clearSelection
6BCD insert &(Ljavax/swing/tree/MutableTreeNode;I)V
6FGH getLastVisibleNode <()Ljavax/swing/tree/VariableHeightLayoutCache$TreeStateNode;
JKL
getMapping W(Ljavax/swing/tree/TreePath;)Ljavax/swing/tree/VariableHeightLayoutCache$TreeStateNode;
@
OP ? pop
RS push
?UV M
getParentPath
6XYZ getLoadedChildren (Z)Ljava/util/Enumeration;
6\] ?
getUserObject
?_` ? getLastPathComponent ?bcd getIndexOfChild '(Ljava/lang/Object;Ljava/lang/Object;)I
+
ghi elementAt (I)Ljava/lang/Object;
6kl 0 hasValidSize
nopqr java/lang/Math min (II)I
ntur max ?w ?
6yz B getPreferredWidth
6|} B
getXOrigin
6 ? A(Ljavax/swing/tree/VariableHeightLayoutCache;Ljava/lang/Object;)V Signature &Ljava/util/Vector; lLjava/util/Hashtable; ALjava/util/Stack;>; Code LineNumberTable LocalVariableTable this ,Ljavax/swing/tree/VariableHeightLayoutCache; newModel RuntimeVisibleAnnotations Ljava/beans/BeanProperty; description )The TreeModel that will provide the data.
StackMapTable ;Whether or not the root node from the TreeModel is visible. rowHeight I The height of each cell. nd 5Ljavax/swing/tree/AbstractLayoutCache$NodeDimensions; setExpandedState node getExpandedState (Ljavax/swing/tree/TreePath;)Z getBounds E(Ljavax/swing/tree/TreePath;Ljava/awt/Rectangle;)Ljava/awt/Rectangle; placeIn
getPathForRow (I)Ljavax/swing/tree/TreePath; row
getRowForPath (Ljavax/swing/tree/TreePath;)I visNode invalidatePathBounds rowCount (Ljava/awt/Rectangle;)I bounds getPathClosestTo (II)Ljavax/swing/tree/TreePath; x y getVisiblePathsFrom 4(Ljavax/swing/tree/TreePath;)Ljava/util/Enumeration; Q(Ljavax/swing/tree/TreePath;)Ljava/util/Enumeration; lastNode treeNodesChanged %(Ljavax/swing/event/TreeModelEvent;)V changedChildNode index aRow changedValue Ljava/lang/Object;
changedIndexs [I changedNode e "Ljavax/swing/event/TreeModelEvent;?? java/lang/Object treeNodesInserted
oldChildCount changedParentNode treeNodesRemoved
removedRow removedNode
makeInvisible counter treeStructureChanged nodeIndex newNode parent wasExpanded
wasVisible newIndex changedPath
removeMapping +(ILjava/awt/Rectangle;)Ljava/awt/Rectangle; cursor Ljava/util/Enumeration;
rootObject LocalVariableTypeTable Ljava/util/Enumeration<*>; newRow previousNode
childIndex isParentRoot newValue newChildNode paths
onlyIfVisible shouldCreate .Ljava/util/Stack;? java/lang/Throwable
maxCounter
newYOrigin aNode location updateAll aY minY maxY rows mid aPath
expandLast nodeWidth maxWidth value
SourceFile VariableHeightLayoutCache.java NestMembers InnerClasses
TreeStateNode? 3javax/swing/tree/AbstractLayoutCache$NodeDimensions NodeDimensions VisibleTreeStateNodeEnumeration ! ? ? ? ? 3 4 # $ ? ? ? ? &