|
What this is
Other links
The source code
/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is NetBeans. The Initial Developer of the Original
* Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
* Microsystems, Inc. All Rights Reserved.
*/
package org.netbeans.modules.editor.options;
import java.awt.Image;
import java.beans.*;
/** BeanInfo for common options
*
* @author Martin Roskanin
* @since 08/2001
*/
public class AllOptionsFolderBeanInfo extends BaseOptionsBeanInfo {
public static final String EDITOR_STATE_PROP = "editorState"; // NOI18N
public static final String[] PROP_NAMES = new String[] {
BaseOptions.KEY_BINDING_LIST_PROP,
EDITOR_STATE_PROP,
BaseOptions.OPTIONS_VERSION_PROP,
BaseOptions.TOOLBAR_VISIBLE_PROP,
BaseOptions.TEXT_ANTIALIASING_PROP
};
public AllOptionsFolderBeanInfo() {
super("/org/netbeans/modules/editor/resources/allOptions", "base_"); // NOI18N
}
protected Class getBeanClass() {
return AllOptionsFolder.class;
}
protected String[] getPropNames() {
return PROP_NAMES;
}
protected void updatePropertyDescriptors() {
super.updatePropertyDescriptors();
setHidden(new String[] {
EDITOR_STATE_PROP,
BaseOptions.OPTIONS_VERSION_PROP
});
}
}
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.