From 3921acd85e938f5d12112d789b0aef8c273c96c6 Mon Sep 17 00:00:00 2001 From: XiaXiang Date: Wed, 12 Jul 2017 20:33:17 +0800 Subject: [PATCH] =?UTF-8?q?alphafine=20=E9=80=89=E4=B8=AD=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=9A=84=E4=BA=A4=E4=BA=92=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cell/render/ContentCellRender.java | 11 ++++++++--- .../mainframe/alphafine/images/selected1.png | Bin 0 -> 14908 bytes .../mainframe/alphafine/images/selected2.png | Bin 0 -> 14941 bytes .../mainframe/alphafine/images/selected3.png | Bin 0 -> 14855 bytes .../mainframe/alphafine/images/selected4.png | Bin 0 -> 14907 bytes .../mainframe/alphafine/images/selected5.png | Bin 0 -> 14834 bytes 6 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 designer/src/com/fr/design/mainframe/alphafine/images/selected1.png create mode 100644 designer/src/com/fr/design/mainframe/alphafine/images/selected2.png create mode 100644 designer/src/com/fr/design/mainframe/alphafine/images/selected3.png create mode 100644 designer/src/com/fr/design/mainframe/alphafine/images/selected4.png create mode 100644 designer/src/com/fr/design/mainframe/alphafine/images/selected5.png diff --git a/designer/src/com/fr/design/mainframe/alphafine/cell/render/ContentCellRender.java b/designer/src/com/fr/design/mainframe/alphafine/cell/render/ContentCellRender.java index 28d70e5b7..25506cbcc 100644 --- a/designer/src/com/fr/design/mainframe/alphafine/cell/render/ContentCellRender.java +++ b/designer/src/com/fr/design/mainframe/alphafine/cell/render/ContentCellRender.java @@ -28,13 +28,18 @@ public class ContentCellRender implements ListCellRenderer { panel.setBackground(null); panel.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0)); titleLabel.setText(" " + model.getName()); - String iconUrl = "/com/fr/design/mainframe/alphafine/images/alphafine" + model.getType().getTypeValue() + ".png"; if (model.hasAction()) { if (isSelected) { + String iconUrl = "/com/fr/design/mainframe/alphafine/images/selected" + model.getType().getTypeValue() + ".png"; panel.setBackground(AlphaFineConstants.BLUE); + titleLabel.setForeground(Color.white); + titleLabel.setIcon(new ImageIcon(IOUtils.readImage(iconUrl))); + } else { + String iconUrl = "/com/fr/design/mainframe/alphafine/images/alphafine" + model.getType().getTypeValue() + ".png"; + titleLabel.setIcon(new ImageIcon(IOUtils.readImage(iconUrl))); + titleLabel.setForeground(AlphaFineConstants.BLACK); } - titleLabel.setIcon(new ImageIcon(IOUtils.readImage(iconUrl))); - titleLabel.setForeground(AlphaFineConstants.BLACK); + } else { titleLabel.setIcon(null); titleLabel.setForeground(AlphaFineConstants.MEDIUM_GRAY); diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/selected1.png b/designer/src/com/fr/design/mainframe/alphafine/images/selected1.png new file mode 100644 index 0000000000000000000000000000000000000000..3d7cf2514a45895e3a555c5020c8ae78275bafaf GIT binary patch literal 14908 zcmeI3eQXnD9LH}iY%pZJ1TcW&SzwWu?(W)dw3oIp*NqPBm|Jx(hQRH5-OjbW(q7lD zf(%3u#E^(VKxIhKO$d$wiHSs6VoVe@LANPEgEJDqO~O`7bl>)L!rBVvTU$N_Qd*g*X{unzzkqU8Mipiy^R3-->_jm(7 zS7c}oo)TPwTkyz!;A2wyy!DbS`Rk=IO2)g#EDYwvW{cNOIbOFrWof@$)Cds7kfwC{ z?M+^RDi{1xz{d+kjo?z|rMh}qbS5TeL?)$Y%&`k0aSWT%6SYN_LUe|V;9A*2pTNnI z&n`(Wb99xJ4I?BA3zb#1lzh_0@uElJy3j}^n-Vjg$R}7hSuiVJHN8~LXzYxRWwfl0 zSxoC$nud}@l}R~ll0$ShCFju4tQIWn5jh}bat^SA9GuMEQx;eY<#F(=Q}Vev*(|!b zI)UWoyP5mLt26gN9sDbg+!GR%g)b zc(qQ)IMh0=HczeB^Rzl&r*%3wE$Gs55r{S$Y#)`{BJlxbzr<2I?lU!HAC-EwPXuQj z=YllK=0HWsV~FfuMO3yhH()t0Cn z)mJIA>Iy{lIvovO6r+5`yl{WAw;JJv`;)y1>$4tFHfv(#lA0lxa{fk-h6-@2Aei&> z^0awID!Dn?Q6`22SCvHsd)Tk6OeR0(N$yB#tRBke96<3b{W1sE4h0~upnNJOvz zK*kss5)mxGxL_K{7~?`Bf&~~COamEXTu4N)0ONvbAY+URi3k>8Trdq}jBz0m!2*m6 zrh$wxE+isYfN{YzkTJ%EL<9>kE|>-~#<-A(U;)Mj(?G@;7ZMRHz_?%<$Qa{7B7y}N z7fb^gV_Zl?umIzNX&~df;>t=q04R9CQ-4A5cweTa$qF6~BzbGOjUd9{QNrez3F4n2 z@clbM1ZaZjTSpM=K7x2edSmSu#RQSItHe@Z4_!R6r(jh#H)VUv@xk*?Y{|~)S(#D1 zE<8Y5wl+>Xb?lk4t>@p{v$191@JUtp)%mx2gY@`otJi=8~U;%|IFll;~F<#UB1jatBPoB4)06iC`)?ZReX1 zXWQ-PuJ3GL@vi;GvAW;-v%0L=Z54gahxoMiqjTn-n;0NFI!?UZH@z=2P#Ns%yJ?MS?gx9{xz*Ov{paERt=+*FDom}}SDGvPzS=UUGI+Feb#L~-vouz$?%m)!(6+nBJ@`6%plf^g;Ni@MqRGXd&%H?uma}(iuJ3Ape&eA_i*veW zUD>_x^v#;Rm&3m{{KyS9T$uM-_jffnHc&)xa}GUu!@m<>ysXxp?Ekvc(z$5hv8r9| yf3<(y94=Z@cD7ABi*Ntr&HkRA&oozW5t|;JlJ0r`&JW7-oh3!3mXDrVx8*-{24<`P literal 0 HcmV?d00001 diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/selected2.png b/designer/src/com/fr/design/mainframe/alphafine/images/selected2.png new file mode 100644 index 0000000000000000000000000000000000000000..dd04302fc1c97c1f0a9efe308ec39e6ea45abd31 GIT binary patch literal 14941 zcmeI3eQXnD9LH}17MU5o5I5wt6hww}cei%ydbXY03T%OnvNyMgu-n~jJ818Y_DahF zV?Z!2N(e71;l+SL0t}S6XaqB<8YGfTF&T&wl@J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~<8sm-a5 z8Zit4jUEy1VO3w5tUcyQ?MQ2E8qbJy#Ej9&LjIjc<}%s}9~R(q3LSq?NuK8TX1L8k z;*M@}Vl*8og3`do1Q!+&Dj>K}8rYcN!XiQi1Q$vJ8xveuM5ut^LTO-Qf(wfX6%bq~ z4QxzsVG*GMf(xaAjR`I+B2++dp){~D!G%SH3J5Ng1~w+Ru!v9r!G+Sm#sn7@5h@_K zP#V~n;KCw81q2sL0~-@uSVX9R;6iC&V}c8d2o(@qC=F~(aA6Ul0)h*rfsF|+EFx4u zaG^A?F~NmJgbD~Qlm<2?xUh&&0l|gRz{Ug@77;2SxKJ9{nBc-9LIngDN&_1cTv$Y? zfZ#%DVB?$O%1XTY2PF8uUnhLAucOD_244y^2vxOSit2_h5%#R2sH->N^&CaDGZgj5 zVv6E6QdFM2Zqebn6qWH}wWq8;d}{Ua*=-GFxtW6(3)d^lUu*5lo;JC0``&4<=63A3 zGoKxl`#!rb_+9@qmns_*t9zCZW9Eh`QU9l7xJz^S&Q z=a%d|HsstjxO=2Qx#N?}x-VAz8ty&1^-TG)Z)a`Yz|j8T$3`Ch`Sg(W^UJv}&%AJD zPkvKQB{libwTXG`Eb;W)*RDQt^?dk^_utvJZj)b`-qKB-sa-f+w6S-%K-sbBuLnj3 zKgc-QTbUDlXu`6$rmpf2>~_4qe#*fsJ@+o?`HekO_Tga8yG!#<W98HjmH9 z+xv?Bhr=|`|de*c#EP%2EH%)-SQ7V>3DX& zvuEdid1%3ezLj~89_amL*T9!6XaBur)$>_%)^~00cYl1@yj0py*q8n35_Rg2Yxdn; uyyH)0YFnm!`J=OsFF9d-Y5VSx0;+6zQ?E4e({%k+&FYHzo?TBbUimMpTTYe$ literal 0 HcmV?d00001 diff --git a/designer/src/com/fr/design/mainframe/alphafine/images/selected4.png b/designer/src/com/fr/design/mainframe/alphafine/images/selected4.png new file mode 100644 index 0000000000000000000000000000000000000000..2d4c9b262042d77638f762e4e776d3f02ca94227 GIT binary patch literal 14907 zcmeI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