335 | | |
336 | | * InternalFrameTitlePane |
337 | | |
338 | | * InternalFrameTitlePane.closeButton |
339 | | |
340 | | * InternalFrameTitlePane.iconifyButton |
341 | | |
342 | | * InternalFrameTitlePane.maximizeButton |
343 | | |
| 335 | {{{ |
| 336 | <!-- ================================= --> |
| 337 | <!-- INTERNAL FRAME--> |
| 338 | <!-- ================================= --> |
| 339 | <style id="InternalFrameStyle"> |
| 340 | <imageIcon id="InternalFrameIcon" path="resources/btn_window_settings.png" |
| 341 | sourceInsets="0 0 0 0" /> |
| 342 | <property key="InternalFrame.icon" type="idref" value="InternalFrameIcon" /> |
| 343 | <state> |
| 344 | <imagePainter method="InternalFrameBackground" path="resources/app_bg.png" |
| 345 | sourceInsets="0 0 0 0" /> |
| 346 | </state> |
| 347 | |
| 348 | </style> |
| 349 | <bind style="InternalFrameStyle" type="region" key="InternalFrame" /> |
| 350 | }}} |
| 351 | |
| 352 | * InternalFrameTitlePane - ready (interface not as proposed by shift, may need serious customization to make it look as they've proposed.) |
| 353 | {{{ |
| 354 | |
| 355 | <!-- ================================= --> |
| 356 | <!-- INTERNAL FRAME TITLE PANE --> |
| 357 | <!-- ================================= --> |
| 358 | <style id="InternalFrameTitlePaneStyle"> |
| 359 | <insets top="0" left="0" bottom="0" right="0" /> |
| 360 | <property key="InternalFrameTitlePane.titleSpacing" type="integer" |
| 361 | value="20" /> |
| 362 | <property key="InternalFrameTitlePane.buttonSpacing" type="integer" |
| 363 | value="0" /> |
| 364 | <imageIcon id="InternalFrameMaximizeButtonIcon" path="resources/btn_maximize.png" /> |
| 365 | <property key="InternalFrameTitlePane.maximizeIcon" type="idref" |
| 366 | value="InternalFrameMaximizeButtonIcon" /> |
| 367 | |
| 368 | <imageIcon id="InternalFrameCloseButtonIcon" path="resources/close.png" /> |
| 369 | <property key="InternalFrameTitlePane.closeIcon" type="idref" |
| 370 | value="InternalFrameCloseButtonIcon" /> |
| 371 | |
| 372 | <imageIcon id="InternalFrameMinimizeButtonIcon" path="resources/btn_minimize.png" /> |
| 373 | <property key="InternalFrameTitlePane.minimizeIcon" type="idref" |
| 374 | value="InternalFrameMinimizeButtonIcon" /> |
| 375 | |
| 376 | <state> |
| 377 | <imagePainter method="InternalFrameTitlePaneBackground" |
| 378 | path="resources/title_bar_bg.png" sourceInsets="0 0 0 0" /> |
| 379 | <font name="Arial" size="11" style="BOLD" /> |
| 380 | <color value="#585f68" type="TEXT_FOREGROUND" /> |
| 381 | </state> |
| 382 | </style> |
| 383 | <bind style="InternalFrameTitlePaneStyle" type="region" |
| 384 | key="InternalFrameTitlePane" /> |
| 385 | |
| 386 | }}} |
| 387 | |
| 388 | |
| 389 | * InternalFrameTitlePane.closeButton - ready (this is part of InternalFrameTitlePane, see previous for more info). |
| 390 | {{{ |
| 391 | |
| 392 | <!-- ================================= --> |
| 393 | <!-- INTERNAL FRAME CLOSE BUTTON --> |
| 394 | <!-- ================================= --> |
| 395 | <style id="InternalFrameCloseButtonStyle"> |
| 396 | <opaque value="true"/> |
| 397 | <insets top="0" left="0" right="0" bottom="0" /> |
| 398 | <insets top="0" left="0" right="0" bottom="0" /> |
| 399 | <property key="Button.textShiftOffset" type="integer" value="0" /> |
| 400 | <state> |
| 401 | <imagePainter method="buttonBackground" path="resources/close.png" sourceInsets="0 0 0 0"/> |
| 402 | </state> |
| 403 | </style> |
| 404 | <bind style="InternalFrameCloseButtonStyle" type="name" key="InternalFrameTitlePane.closeButton" /> |
| 405 | |
| 406 | }}} |
| 407 | |
| 408 | * InternalFrameTitlePane.iconifyButton - ready (this is part of InternalFrameTitlePane, see previous for more info). |
| 409 | |
| 410 | {{{ |
| 411 | <!-- ================================= --> |
| 412 | <!-- INTERNAL FRAME MINIMIZE BUTTON --> |
| 413 | <!-- ================================= --> |
| 414 | <style id="InternalFrameMinimizeButtonStyle"> |
| 415 | <opaque value="true"/> |
| 416 | <insets top="0" left="0" right="0" bottom="0" /> |
| 417 | <property key="Button.textShiftOffset" type="integer" value="0" /> |
| 418 | <state> |
| 419 | <imagePainter method="buttonBackground" path="resources/btn_minimize.png" sourceInsets="0 0 0 0"/> |
| 420 | </state> |
| 421 | </style> |
| 422 | <bind style="InternalFrameMinimizeButtonStyle" type="name" key="InternalFrameTitlePane.iconifyButton" /> |
| 423 | }}} |
| 424 | |
| 425 | * InternalFrameTitlePane.maximizeButton - ready (this is part of InternalFrameTitlePane, see previous for more info). |
| 426 | {{{ |
| 427 | <!-- ================================= --> |
| 428 | <!-- INTERNAL FRAME MAXIMIZE BUTTON --> |
| 429 | <!-- ================================= --> |
| 430 | <style id="InternalFrameMaximizeButtonStyle"> |
| 431 | <opaque value="true"/> |
| 432 | <insets top="0" left="0" right="0" bottom="0" /> |
| 433 | <property key="Button.textShiftOffset" type="integer" value="0" /> |
| 434 | <state> |
| 435 | <imagePainter method="buttonBackground" path="resources/btn_maximize.png" sourceInsets="0 0 0 0"/> |
| 436 | </state> |
| 437 | </style> |
| 438 | <bind style="InternalFrameMaximizeButtonStyle" type="name" key="InternalFrameTitlePane.maximizeButton" /> |
| 439 | }}} |
349 | | |
350 | | * MenuBar |
351 | | |
352 | | * Menu |
353 | | |
354 | | * MenuItem |
355 | | |
356 | | * MenuItemAccelerator |
| 445 | {{{ |
| 446 | <!-- ================================= --> |
| 447 | <!-- LIST --> |
| 448 | <!-- ================================= --> |
| 449 | <style id="ListStyle"> |
| 450 | <property key="List.rendererUseListColors" type="boolean" value="false"/> |
| 451 | <state value="ENABLED"> |
| 452 | <color type="BACKGROUND" value="#FFFFFF"/> |
| 453 | </state> |
| 454 | <state value="DISABLED"> |
| 455 | <color type="BACKGROUND" value="#EEEEEE"/> |
| 456 | </state> |
| 457 | <state value="SELECTED"> |
| 458 | <color type="TEXT_FOREGROUND" value="#FFFFFF"/> |
| 459 | <color type="TEXT_BACKGROUND" value="#4481ca"/> |
| 460 | </state> |
| 461 | </style> |
| 462 | <bind style="ListStyle" type="region" key="List" /> |
| 463 | }}} |
| 464 | |
| 465 | * MenuBar - finished (exactly as proposed by shift). |
| 466 | {{{ |
| 467 | <!-- ================================= --> |
| 468 | <!-- MENU BAR--> |
| 469 | <!-- ================================= --> |
| 470 | <style id="MenuBarStyle"> |
| 471 | <insets top="0" bottom="0" right="0" left="0" /> |
| 472 | <state> |
| 473 | <imagePainter method="MenuBarBackground" path="resources/menu_bg.png" |
| 474 | sourceInsets="0 0 0 0" /> |
| 475 | </state> |
| 476 | </style> |
| 477 | <bind style="MenuBarStyle" type="region" key="MenuBar" /> |
| 478 | |
| 479 | }}} |
| 480 | |
| 481 | * Menu - finished (exactly as proposed by shift). |
| 482 | {{{ |
| 483 | <!-- ================================= --> |
| 484 | <!-- MENU --> |
| 485 | <!-- ================================= --> |
| 486 | <style id="MenuStyle"> |
| 487 | <insets top="4" bottom="5" right="8" left="7" /> |
| 488 | <state> |
| 489 | <imagePainter method="MenuBackground" path="resources/menu_bg.png" |
| 490 | sourceInsets="0 0 0 0" /> |
| 491 | <font name="Arial" size="14" style="PLAIN" /> |
| 492 | </state> |
| 493 | <state value="SELECTED"> |
| 494 | <imagePainter method="MenuBackground" path="resources/menu_item_selected.png" |
| 495 | sourceInsets="0 0 0 0" /> |
| 496 | <color value="WHITE" type="TEXT_BACKGROUND" /> |
| 497 | <color value="WHITE" type="TEXT_FOREGROUND" /> |
| 498 | </state> |
| 499 | </style> |
| 500 | <bind style="MenuStyle" type="region" key="Menu" /> |
| 501 | }}} |
| 502 | |
| 503 | * MenuItem - finished (exactly as proposed by shift). |
| 504 | {{{ |
| 505 | <!-- ================================= --> |
| 506 | <!-- MENU ITEM--> |
| 507 | <!-- ================================= --> |
| 508 | <style id="MenuItemStyle"> |
| 509 | <insets top="3" bottom="3" right="5" left="5" /> |
| 510 | <state> |
| 511 | <imagePainter method="MenuItemBackground" path="resources/menu_item_bg.png" |
| 512 | sourceInsets="0 0 0 0" /> |
| 513 | <font name="Arial" size="14" style="PLAIN" /> |
| 514 | </state> |
| 515 | <state value="MOUSE_OVER"> |
| 516 | <imagePainter method="MenuItemBackground" path="resources/menu_item_selected.png" |
| 517 | sourceInsets="0 0 0 0" /> |
| 518 | <color value="WHITE" type="TEXT_FOREGROUND" /> |
| 519 | </state> |
| 520 | <state value="DISABLED"> |
| 521 | <imagePainter method="MenuItemBackground" path="resources/menu_item_bg.png" |
| 522 | sourceInsets="0 0 0 0" /> |
| 523 | <color value="#acb2b9" type="TEXT_FOREGROUND" /> |
| 524 | </state> |
| 525 | </style> |
| 526 | <bind style="MenuItemStyle" type="region" key="MenuItem" /> |
| 527 | }}} |
| 528 | |
| 529 | * MenuItemAccelerator - finished (exactly as proposed by shift). |
| 530 | {{{ |
| 531 | <!-- ================================= --> |
| 532 | <!-- MENU ITEM ACCELERATOR--> |
| 533 | <!-- ================================= --> |
| 534 | <style id="MenuItemAcceleratorStyle"> |
| 535 | <state> |
| 536 | <color value="#acb2b9" type="TEXT_FOREGROUND" /> |
| 537 | <font name="Arial" size="12" style="PLAIN" /> |
| 538 | </state> |
| 539 | </style> |
| 540 | <bind style="MenuItemAcceleratorStyle" type="region" key="MenuItemAccelerator" /> |
| 541 | }}} |
376 | | * ScrollBarTrack |
| 585 | * ScrollBarTrack - ready |
| 586 | {{{ |
| 587 | |
| 588 | <!-- ================================= --> |
| 589 | <!-- SCROLLBAR TRACK --> |
| 590 | <!-- ================================= --> |
| 591 | <style id="scrollbarTrackStyle"> |
| 592 | <insets top="0" left="0" right="0" bottom="0" /> |
| 593 | <state> |
| 594 | <imagePainter method="scrollBarTrackBackground" path="resources/sbh_track.png" |
| 595 | direction="horizontal" sourceInsets="0 1 0 1" /> |
| 596 | <imagePainter method="scrollBarTrackBackground" path="resources/sbv_track.png" |
| 597 | direction="vertical" sourceInsets="1 0 1 0" /> |
| 598 | </state> |
| 599 | |
| 600 | <state value="DISABLED"> |
| 601 | <imagePainter method="scrollBarTrackBackground" path="resources/sbh_track_disabled.png" |
| 602 | direction="horizontal" sourceInsets="0 1 0 1" /> |
| 603 | <imagePainter method="scrollBarTrackBackground" path="resources/sbv_track_disabled.png" |
| 604 | direction="vertical" sourceInsets="1 0 1 0" /> |
| 605 | </state> |
| 606 | |
| 607 | </style> |
| 608 | <bind style="scrollbarTrackStyle" type="REGION" key="ScrollBarTrack" /> |
| 609 | |
| 610 | }}} |
| 611 | |
| 705 | {{{ |
| 706 | <!-- ================================= --> |
| 707 | <!-- SLIDER THUMB --> |
| 708 | <!-- ================================= --> |
| 709 | <style id="SliderThumbStyle"> |
| 710 | |
| 711 | <state> |
| 712 | <imagePainter method="sliderThumbBackground" direction="horizontal" |
| 713 | path="resources/slider_thumb.png" center="true" /> |
| 714 | <imagePainter method="sliderThumbBackground" direction="vertical" |
| 715 | path="resources/slider_thumb.png" center="true" /> |
| 716 | </state> |
| 717 | |
| 718 | <state value="PRESSED"> |
| 719 | <imagePainter method="sliderThumbBackground" direction="horizontal" |
| 720 | path="resources/slider_thumb_pressed.png" center="true" /> |
| 721 | <imagePainter method="sliderThumbBackground" direction="vertical" |
| 722 | path="resources/slider_thumb_pressed.png" center="true" /> |
| 723 | </state> |
| 724 | |
| 725 | <state value="DISABLED"> |
| 726 | <imagePainter method="sliderThumbBackground" direction="horizontal" |
| 727 | path="resources/slider_thumb_disabled.png" center="true" /> |
| 728 | <imagePainter method="sliderThumbBackground" direction="vertical" |
| 729 | path="resources/slider_thumb_disabled.png" center="true" /> |
| 730 | </state> |
| 731 | |
| 732 | </style> |
| 733 | <bind style="SliderThumbStyle" type="region" key="SliderThumb" /> |
| 734 | }}} |
| 843 | {{{ |
| 844 | <!-- ================================= --> |
| 845 | <!-- TREE --> |
| 846 | <!-- ================================= --> |
| 847 | <style id="TreeStyle"> |
| 848 | <property key="Tree.leftChildIndent" type="integer" value="5" /> |
| 849 | <property key="Tree.rightChildIndent" type="integer" value="5" /> |
| 850 | <imageIcon id="TreeCollapseIcon" path="resources/tree_cell_collapse.png" /> |
| 851 | <property key="Tree.collapsedIcon" type="idref" value="TreeCollapseIcon" /> |
| 852 | <imageIcon id="TreeExpandIcon" path="resources/tree_cell_expand.png" /> |
| 853 | <property key="Tree.expandedIcon" type="idref" value="TreeExpandIcon" /> |
| 854 | <state> |
| 855 | <imagePainter method="TreeBackground" path="resources/text_bg.png" |
| 856 | sourceInsets="0 0 0 0" /> |
| 857 | </state> |
| 858 | <state value="ENABLED"> |
| 859 | <color type="BACKGROUND" value="#FFFFFF" /> |
| 860 | </state> |
| 861 | <state value="DISABLED"> |
| 862 | <color type="BACKGROUND" value="#EEEEEE" /> |
| 863 | </state> |
| 864 | <state value="SELECTED"> |
| 865 | <color type="TEXT_FOREGROUND" value="#FFFFFF"/> |
| 866 | <color type="TEXT_BACKGROUND" value="#4481ca"/> |
| 867 | </state> |
| 868 | </style> |
| 869 | <bind style="TreeStyle" type="region" key="Tree" /> |
| 870 | }}} |