< prev index next >

src/java.desktop/share/classes/sun/awt/shell/ShellFolder.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 190,206 **** --- 190,217 ---- } } } /** + * Returns the icon to display this shell folder. + * * @param getLargeIcon whether to return large icon (ignored in base implementation) * @return The icon used to display this shell folder */ public Image getIcon(boolean getLargeIcon) { return null; } + /** + * Returns the icon of the specified size used to display this shell folder. + * + * @param size size of the icon > 0(Valid range: 1 to 256) + * @return The icon of the specified size used to display this shell folder + */ + public Image getIcon(int size) { + return null; + } // Static private static final ShellFolderManager shellFolderManager;
< prev index next >