internalframeinternalframetitlepaneinternalframetitlepanemaximizebuttonpainter.java
来自「Mobile 应用程序使用 Java Micro Edition (Java M」· Java 代码 · 共 1,029 行 · 第 1/3 页
JAVA
1,029 行
roundRect = decodeRoundRect1(); g.setPaint(decodeGradient10(roundRect)); g.fill(roundRect); roundRect = decodeRoundRect2(); g.setPaint(decodeGradient11(roundRect)); g.fill(roundRect); rect = decodeRect1(); g.setPaint(color4); g.fill(rect); rect = decodeRect4(); g.setPaint(color54); g.fill(rect); rect = decodeRect5(); g.setPaint(color55); g.fill(rect); rect = decodeRect8(); g.setPaint(color56); g.fill(rect); path = decodePath1(); g.setPaint(color57); g.fill(path); path = decodePath2(); g.setPaint(color58); g.fill(path); } private void paintBackgroundMouseOverAndWindowNotFocusedAndWindowMaximized(Graphics2D g) { roundRect = decodeRoundRect3(); g.setPaint(color13); g.fill(roundRect); roundRect = decodeRoundRect1(); g.setPaint(decodeGradient6(roundRect)); g.fill(roundRect); roundRect = decodeRoundRect2(); g.setPaint(decodeGradient7(roundRect)); g.fill(roundRect); rect = decodeRect1(); g.setPaint(color4); g.fill(rect); rect = decodeRect2(); g.setPaint(color28); g.fill(rect); rect = decodeRect3(); g.setPaint(color29); g.fill(rect); rect = decodeRect4(); g.setPaint(color30); g.fill(rect); rect = decodeRect5(); g.setPaint(color31); g.fill(rect); rect = decodeRect9(); g.setPaint(color32); g.fill(rect); rect = decodeRect7(); g.setPaint(color33); g.fill(rect); rect = decodeRect10(); g.setPaint(color34); g.fill(rect); rect = decodeRect8(); g.setPaint(color31); g.fill(rect); path = decodePath1(); g.setPaint(color20); g.fill(path); path = decodePath2(); g.setPaint(color21); g.fill(path); } private void paintBackgroundPressedAndWindowNotFocusedAndWindowMaximized(Graphics2D g) { roundRect = decodeRoundRect3(); g.setPaint(color13); g.fill(roundRect); roundRect = decodeRoundRect1(); g.setPaint(decodeGradient8(roundRect)); g.fill(roundRect); roundRect = decodeRoundRect2(); g.setPaint(decodeGradient9(roundRect)); g.fill(roundRect); rect = decodeRect1(); g.setPaint(color4); g.fill(rect); rect = decodeRect2(); g.setPaint(color40); g.fill(rect); rect = decodeRect3(); g.setPaint(color41); g.fill(rect); rect = decodeRect4(); g.setPaint(color42); g.fill(rect); rect = decodeRect5(); g.setPaint(color43); g.fill(rect); rect = decodeRect6(); g.setPaint(color44); g.fill(rect); rect = decodeRect7(); g.setPaint(color45); g.fill(rect); rect = decodeRect10(); g.setPaint(color46); g.fill(rect); rect = decodeRect8(); g.setPaint(color47); g.fill(rect); path = decodePath1(); g.setPaint(color20); g.fill(path); path = decodePath2(); g.setPaint(color21); g.fill(path); } private void paintBackgroundDisabled(Graphics2D g) { roundRect = decodeRoundRect1(); g.setPaint(decodeGradient1(roundRect)); g.fill(roundRect); roundRect = decodeRoundRect2(); g.setPaint(decodeGradient12(roundRect)); g.fill(roundRect); rect = decodeRect1(); g.setPaint(color4); g.fill(rect); path = decodePath3(); g.setPaint(color61); g.fill(path); path = decodePath4(); g.setPaint(decodeGradient13(path)); g.fill(path); } private void paintBackgroundEnabled(Graphics2D g) { roundRect = decodeRoundRect3(); g.setPaint(color13); g.fill(roundRect); roundRect = decodeRoundRect1(); g.setPaint(decodeGradient4(roundRect)); g.fill(roundRect); roundRect = decodeRoundRect2(); g.setPaint(decodeGradient5(roundRect)); g.fill(roundRect); rect = decodeRect1(); g.setPaint(color4); g.fill(rect); path = decodePath3(); g.setPaint(color64); g.fill(path); path = decodePath4(); g.setPaint(color65); g.fill(path); } private void paintBackgroundMouseOver(Graphics2D g) { roundRect = decodeRoundRect3(); g.setPaint(color66); g.fill(roundRect); roundRect = decodeRoundRect1(); g.setPaint(decodeGradient6(roundRect)); g.fill(roundRect); roundRect = decodeRoundRect2(); g.setPaint(decodeGradient14(roundRect)); g.fill(roundRect); rect = decodeRect1(); g.setPaint(color4); g.fill(rect); path = decodePath3(); g.setPaint(color68); g.fill(path); path = decodePath4(); g.setPaint(color65); g.fill(path); } private void paintBackgroundPressed(Graphics2D g) { roundRect = decodeRoundRect3(); g.setPaint(color69); g.fill(roundRect); roundRect = decodeRoundRect1(); g.setPaint(decodeGradient8(roundRect)); g.fill(roundRect); roundRect = decodeRoundRect2(); g.setPaint(decodeGradient15(roundRect)); g.fill(roundRect); rect = decodeRect1(); g.setPaint(color4); g.fill(rect); path = decodePath3(); g.setPaint(color71); g.fill(path); path = decodePath4(); g.setPaint(color65); g.fill(path); } private void paintBackgroundEnabledAndWindowNotFocused(Graphics2D g) { roundRect = decodeRoundRect1(); g.setPaint(decodeGradient10(roundRect)); g.fill(roundRect); roundRect = decodeRoundRect2(); g.setPaint(decodeGradient16(roundRect)); g.fill(roundRect); rect = decodeRect1(); g.setPaint(color4); g.fill(rect); path = decodePath4(); g.setPaint(color72); g.fill(path); } private void paintBackgroundMouseOverAndWindowNotFocused(Graphics2D g) { roundRect = decodeRoundRect3(); g.setPaint(color66); g.fill(roundRect); roundRect = decodeRoundRect1(); g.setPaint(decodeGradient6(roundRect)); g.fill(roundRect); roundRect = decodeRoundRect2(); g.setPaint(decodeGradient14(roundRect)); g.fill(roundRect); rect = decodeRect1(); g.setPaint(color4); g.fill(rect); path = decodePath3(); g.setPaint(color68); g.fill(path); path = decodePath4(); g.setPaint(color65); g.fill(path); } private void paintBackgroundPressedAndWindowNotFocused(Graphics2D g) { roundRect = decodeRoundRect3(); g.setPaint(color69); g.fill(roundRect); roundRect = decodeRoundRect1(); g.setPaint(decodeGradient8(roundRect)); g.fill(roundRect); roundRect = decodeRoundRect2(); g.setPaint(decodeGradient15(roundRect)); g.fill(roundRect); rect = decodeRect1(); g.setPaint(color4); g.fill(rect); path = decodePath3(); g.setPaint(color71); g.fill(path); path = decodePath4(); g.setPaint(color65); g.fill(path); }
private RoundRectangle2D decodeRoundRect1() { roundRect.setRoundRect(decodeX(1.0f), //x decodeY(1.0f), //y decodeX(2.0f) - decodeX(1.0f), //width decodeY(1.9444444f) - decodeY(1.0f), //height 8.6f, 8.6f); //rounding return roundRect; } private RoundRectangle2D decodeRoundRect2() { roundRect.setRoundRect(decodeX(1.0526316f), //x decodeY(1.0555556f), //y decodeX(1.9473684f) - decodeX(1.0526316f), //width decodeY(1.8888888f) - decodeY(1.0555556f), //height 6.75f, 6.75f); //rounding return roundRect; } private Rectangle2D decodeRect1() { rect.setRect(decodeX(1.0f), //x decodeY(1.0f), //y decodeX(1.0f) - decodeX(1.0f), //width decodeY(1.0f) - decodeY(1.0f)); //height return rect; } private Rectangle2D decodeRect2() { rect.setRect(decodeX(1.2165072f), //x decodeY(1.2790405f), //y decodeX(1.6746411f) - decodeX(1.2165072f), //width decodeY(1.3876263f) - decodeY(1.2790405f)); //height return rect; } private Rectangle2D decodeRect3() { rect.setRect(decodeX(1.2212919f), //x decodeY(1.6047981f), //y decodeX(1.270335f) - decodeX(1.2212919f), //width decodeY(1.3876263f) - decodeY(1.6047981f)); //height return rect; } private Rectangle2D decodeRect4() { rect.setRect(decodeX(1.2643541f), //x decodeY(1.5542929f), //y decodeX(1.6315789f) - decodeX(1.2643541f), //width decodeY(1.5997474f) - decodeY(1.5542929f)); //height return rect; } private Rectangle2D decodeRect5() { rect.setRect(decodeX(1.6267943f), //x decodeY(1.3888888f), //y decodeX(1.673445f) - decodeX(1.6267943f), //width decodeY(1.6085858f) - decodeY(1.3888888f)); //height return rect; } private Rectangle2D decodeRect6() { rect.setRect(decodeX(1.3684211f), //x decodeY(1.6111112f), //y decodeX(1.4210527f) - decodeX(1.3684211f), //width decodeY(1.7777778f) - decodeY(1.6111112f)); //height return rect; } private Rectangle2D decodeRect7() { rect.setRect(decodeX(1.4389952f), //x decodeY(1.7209597f), //y decodeX(1.7882775f) - decodeX(1.4389952f), //width decodeY(1.7765152f) - decodeY(1.7209597f)); //height return rect; } private Rectangle2D decodeRect8() { rect.setRect(decodeX(1.5645933f), //x decodeY(1.4078283f), //y
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?