org.apache.cayenne.modeler.util.MultiColumnBrowser.class Maven / Gradle / Ivy
The newest version!
???? 1?
g ?
h ? ? ?
? ?
?
?
?
? g ? ?
? g ? ?
?
? ? g ?
g ? ? ? ? ? ? ? g ? ? ?
?
? ? ? ? ? ? g
g g ?
'
'
g g
g g
. ?
g ?
3 ? g
?
g
:
g
g
g
g
' ?
g!"
B#
B$
g%
'&
' ?'
g(
g)
'*
g+ O, O-.
O/
g$
g01
g2
g3
g45
W
S6
g78
'9:;
'<
g=>
g?
g@
ABC
DE gFGH MultiColumnBrowserRenderer InnerClasses PanelController BrowserPanelI ColumnListModel
rightArrow Ljavax/swing/ImageIcon; DEFAULT_MIN_COLUMNS_COUNT I
ConstantValue
minColumns renderer Ljavax/swing/ListCellRenderer; model Ljavax/swing/tree/TreeModel;
selectionPath [Ljava/lang/Object; preferredColumnSize Ljava/awt/Dimension; columns Ljava/util/List; Signature SLjava/util/List; browserSelector )Ljavax/swing/event/ListSelectionListener; treeSelectionListeners ;Ljava/util/List; fireDisabled Z ()V Code LineNumberTable LocalVariableTable this 4Lorg/apache/cayenne/modeler/util/MultiColumnBrowser; (I)V addTreeSelectionListener ,(Ljavax/swing/event/TreeSelectionListener;)V listener )Ljavax/swing/event/TreeSelectionListener; removeTreeSelectionListener fireTreeSelectionEvent ([Ljava/lang/Object;)V i$ Ljava/util/Iterator; e &Ljavax/swing/event/TreeSelectionEvent; getSelectionPath ()Ljavax/swing/tree/TreePath; setSelectionPath (Ljavax/swing/tree/TreePath;)V i path Ljavax/swing/tree/TreePath; selectRow 1(Ljava/lang/Object;ILjavax/swing/tree/TreePath;)V row Ljava/lang/Object; index
getMinColumns ()I
setMinColumns getPreferredColumnSize ()Ljava/awt/Dimension; setPreferredColumnSize (Ljava/awt/Dimension;)V setDefaultRenderer getRenderer ()Ljavax/swing/ListCellRenderer; setRenderer !(Ljavax/swing/ListCellRenderer;)V column Ljavax/swing/JList; setModel (Ljavax/swing/tree/TreeModel;)V getModel ()Ljavax/swing/tree/TreeModel; getColumnsCount initView adjustViewColumns delta appendColumn C()Lorg/apache/cayenne/modeler/util/MultiColumnBrowser$BrowserPanel; panel ALorg/apache/cayenne/modeler/util/MultiColumnBrowser$BrowserPanel; scroller Ljavax/swing/JScrollPane;
installColumn D(Lorg/apache/cayenne/modeler/util/MultiColumnBrowser$BrowserPanel;)V removeLastColumn clearSelection uninstallColumn refreshPreferredSize w h scrollToColumn viewport Ljavax/swing/JViewport; x D y rectangle Ljava/awt/Rectangle; updateFromModel (Ljava/lang/Object;I)V selectedNode
panelIndex (Ljava/lang/Object;IZ)V lastPanel load lastIndex rebuildPath ;([Ljava/lang/Object;Ljava/lang/Object;I)[Ljava/lang/Object; node newPath
SourceFile MultiColumnBrowser.java ? ? ? ? "java/lang/IllegalArgumentException java/lang/StringBuilder !Expected 3 or more columns, got: JKJLMN ?O u r Borg/apache/cayenne/modeler/util/MultiColumnBrowser$PanelController ?P ? ? java/util/ArrayListQRS ? ? ?TUVWVXV ? ? $javax/swing/event/TreeSelectionEvent javax/swing/tree/TreePath ? ? ?YZ[\]^_` 'javax/swing/event/TreeSelectionListenerab z {c ?de ? ? ~ fe ?org/apache/cayenne/modeler/util/MultiColumnBrowser$BrowserPanelg`hi ? ? | } ? ? v w Morg/apache/cayenne/modeler/util/MultiColumnBrowser$MultiColumnBrowserRenderer ? ?j ?kl ? java/lang/NullPointerException Null tree model. x ymn` ? ? java/awt/GridLayout ?opq ? ? ? ?r ? ? ? javax/swing/JScrollPane ?st ?WuvwXe ? ?X ?xw ? ?y rz r java/awt/Dimension ?{|} javax/swing/JViewport~ ? ? ? ? java/awt/Rectangle?? ? ? java/lang/Object??? ? ??? ? ??V ? ? ? ???? scroll_right.gif??? o p 2org/apache/cayenne/modeler/util/MultiColumnBrowser javax/swing/JPanel Borg/apache/cayenne/modeler/util/MultiColumnBrowser$ColumnListModel append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V 7(Lorg/apache/cayenne/modeler/util/MultiColumnBrowser;)V java/util/Collections synchronizedList "(Ljava/util/List;)Ljava/util/List; java/util/List contains (Ljava/lang/Object;)Z add remove g(Ljava/lang/Object;Ljavax/swing/tree/TreePath;ZLjavax/swing/tree/TreePath;Ljavax/swing/tree/TreePath;)V iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; valueChanged )(Ljavax/swing/event/TreeSelectionEvent;)V getPathCount getPathComponent (I)Ljava/lang/Object; get getSelectedValue setSelectedValue (Ljava/lang/Object;Z)V size javax/swing/JList setCellRenderer javax/swing/tree/TreeModel getRoot (IIII)V setLayout (Ljava/awt/LayoutManager;)V
revalidate (Ljava/awt/Component;II)V setPreferredSize *(Ljava/awt/Component;)Ljava/awt/Component; addListSelectionListener ,(Ljavax/swing/event/ListSelectionListener;)V removeListSelectionListener width height (II)V getParent ()Ljava/awt/Container; getWidth getHeight scrollRectToVisible (Ljava/awt/Rectangle;)V getSelectionModel "()Ljavax/swing/ListSelectionModel; javax/swing/ListSelectionModel setRootNode (Ljava/lang/Object;)V isLeaf java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V +org/apache/cayenne/modeler/util/ModelerUtil buildIcon +(Ljava/lang/String;)Ljavax/swing/ImageIcon; ! g h o p q r s t u r v w x y z { | } ~ ? ? ? ? ? ? ? ? ? ? ? ? 4 *? ? ?
^ _ ? ? ? ? ? ? ? H*? ? ? Y? Y? ? ? ? ?
?*? *? Y*?
? *? Y? ? ? *? ? ? " a b c $ j ) k 5 l C m G n ? H ? ? H u r ? ? ? ? .*? YM?+? *? +? ? *? +? W,ç N,?-?? % ( ( + ( ? q r s # u - v ? . ? ? . ? ? ? ? ? m *? YM?*? +? W,ç N,?-?? ? y z { | ? ? ? ? ? ? ? ? ? \*? ? ?? Y*? Y+? ? M*? YN?*? ? :? ? ? ? :,? ???-ç
:-??? # Q T T X T ? " ? ? ? ? # ? D ? O ? [ ? ? 4 D ? ? . ! ? ? \ ? ? \ z { @ ? ? ? ? ? 6 ? Y*? !? ? ? ? ? ? ? ? ? ? ? 1*? =+? "? *+? #+? $????*? ? N*? -?? ( ( ) ( ? " ? ? ? ? ? % ? ( ? 0 ? ? ? r 1 ? ? 1 ? ? ? ? ? ? :? 0*? %d? & ? '? (+? *? %d? & ? '+? )? *+d? *? ? ? ? 1 ? 9 ? ? * : ? ? : ? ? : ? r : ? ? ? ? ? / *? ? ? ? ? ? ? ? ? ? > *? ? ?
? ? ? ? ? u r ? ? ? / *? +? ? ? ? ? ? ? ? ? F
*+? +*? ,? ? ? ? ? ?
? ?
| } ? ? ? I *? -? .? *? .Y*? /? 0? ? ?
? ? ? ? ? ? ? ? / *? -? ? ? ? ? ? ! ? ? ? ? F*? -+? @*+? -*? %? 4*? %? 1 ? (*? %? M,? ? ,? ? 'N-+? 2??? ? ? ?
? ? = ? E ? ? * = ? ? * ? ? F ? ? F v w ! ? ? ? o '+?
? 3Y4? 5?*? 6+? *+? 6*+? 7 ? *? ? ? ? ? ? ? &