/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* ImagePainter fills in the specified region using an Image. The Image
* is split into 9 segments: north, north east, east, south east, south,
* south west, west, north west and the center. The corners are defined
* by way of an insets, and the remaining regions are either tiled or
* scaled to fit.
*
* @author Scott Violet
*/
new StringBuffer("SynthCacheKey");
private boolean tiles;
private boolean paintCenter;
private boolean center;
// A SynthPainter is created per <imagePainter>. We want the
// cache to be shared by all, and we don't use a static because we
// don't want it to persist between look and feels. For that reason
// we use a AppContext specific Paint9Painter. It's backed via
// a WeakRef so that it can go away if the look and feel changes.
synchronized(CACHE_KEY) {
}
return painter;
}
}
boolean center) {
if (sourceInsets != null) {
}
if (destinationInsets == null) {
}
else {
}
this.paintCenter = paintCenter;
this.imageCache = getPaint9Painter();
}
public boolean getTiles() {
return tiles;
}
public boolean getPaintsCenter() {
return paintCenter;
}
public boolean getCenter() {
return center;
}
}
return insets;
}
}
return image;
}
int h) {
if (getCenter()) {
}
else if (!getTiles()) {
}
else {
}
if (!getCenter() && !getPaintsCenter()) {
}
mask);
}
}
// SynthPainter
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h,
int direction) {
}
// BUTTON
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// CHECK_BOX_MENU_ITEM
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// CHECK_BOX
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// COLOR_CHOOSER
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// COMBO_BOX
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// DESKTOP_ICON
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// DESKTOP_PANE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// EDITOR_PANE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// FILE_CHOOSER
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// FORMATTED_TEXT_FIELD
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// INTERNAL_FRAME_TITLE_PANE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// INTERNAL_FRAME
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// LABEL
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// LIST
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// MENU_BAR
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// MENU_ITEM
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// MENU
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// OPTION_PANE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// PANEL
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// PANEL
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// POPUP_MENU
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// PROGRESS_BAR
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// RADIO_BUTTON_MENU_ITEM
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// RADIO_BUTTON
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// ROOT_PANE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// SCROLL_BAR
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// SCROLL_BAR_THUMB
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// SCROLL_BAR_TRACK
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// SCROLL_PANE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// SEPARATOR
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// SLIDER
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// SLIDER_THUMB
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// SLIDER_TRACK
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// SPINNER
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// SPLIT_PANE_DIVIDER
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// SPLIT_PANE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// TABBED_PANE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// TABBED_PANE_TAB_AREA
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// TABBED_PANE_TAB
int x, int y, int w, int h,
int tabIndex) {
}
int x, int y, int w, int h,
int tabIndex, int orientation) {
}
int x, int y, int w, int h,
int tabIndex) {
}
int x, int y, int w, int h,
int tabIndex, int orientation) {
}
// TABBED_PANE_CONTENT
Graphics g, int x, int y, int w,
int h) {
}
int x, int y, int w, int h) {
}
// TABLE_HEADER
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// TABLE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// TEXT_AREA
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// TEXT_PANE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// TEXT_FIELD
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// TOGGLE_BUTTON
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// TOOL_BAR
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// TOOL_BAR_CONTENT
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// TOOL_DRAG_WINDOW
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h, int orientation) {
}
// TOOL_TIP
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// TREE
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// TREE_CELL
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
// VIEWPORT
Graphics g, int x, int y,
int w, int h) {
}
Graphics g, int x, int y,
int w, int h) {
}
}