/**
* Use {@link CustomizedSystemMessages} to customize
*/
- private SystemMessages() {
+ SystemMessages() {
}
Comparator<Object>, Serializable {
private final Collection<?> itemIds;
- private ListedItemsFirstComparator(Collection<?> itemIds) {
+ public ListedItemsFirstComparator(Collection<?> itemIds) {
this.itemIds = itemIds;
}
/**
* Constructs a FileItem from a existing file.
*/
- private FileItem(File file) {
+ FileItem(File file) {
this.file = file;
}
private class PropertySetChangeEvent extends EventObject implements
Container.PropertySetChangeEvent, Serializable {
- private PropertySetChangeEvent(IndexedContainer source) {
+ public PropertySetChangeEvent(IndexedContainer source) {
super(source);
}
private class PropertyValueChangeEvent extends EventObject implements
Property.ValueChangeEvent, Serializable {
- private PropertyValueChangeEvent(Property source) {
+ public PropertyValueChangeEvent(Property source) {
super(source);
}
* @param itemId
* the Item ID of the new Item.
*/
- private IndexedContainerItem(Object itemId) {
+ IndexedContainerItem(Object itemId) {
// Gets the item contents from the host
if (itemId == null) {
* the list that contains the Item to contain the new
* Property.
*/
- private IndexedContainerProperty(Object itemId, Object propertyId) {
+ public IndexedContainerProperty(Object itemId, Object propertyId) {
if (itemId == null || propertyId == null) {
// Null ids are not accepted
throw new NullPointerException(
private class PropertySetChangeEvent extends EventObject implements
Item.PropertySetChangeEvent {
- private PropertySetChangeEvent(Item source) {
+ public PropertySetChangeEvent(Item source) {
super(source);
}
Object id;
- private Row(Object rowId) {
+ Row(Object rowId) {
id = rowId;
}
private String message;
- private MethodException(String message, Throwable cause) {
+ MethodException(String message, Throwable cause) {
super(message);
this.cause = cause;
}
public static VerticalLocationIs MIDDLE = new VerticalLocationIs(
VerticalDropLocation.MIDDLE);
- private VerticalLocationIs(VerticalDropLocation l) {
+ VerticalLocationIs(VerticalDropLocation l) {
super("detail", l.name());
}
}
Serializable {
boolean first = getCompositionRoot() != null;
+ public ComponentIterator() {
+ // needed to prevent generation of non-serializable access
+ // constructor classes as this nested class is private
+ }
+
public boolean hasNext() {
return first;
}
int i = 0;
+ public ComponentIterator() {
+ // needed to prevent generation of non-serializable access
+ // constructor classes as this nested class is private
+ }
+
public boolean hasNext() {
if (i < (firstComponent == null ? 0 : 1)
+ (secondComponent == null ? 0 : 1)) {
* @param border
* The border style of the target window
*/
- private OpenResource(Resource resource, String name, int width,
+ public OpenResource(Resource resource, String name, int width,
int height, int border) {
this.resource = resource;
this.name = name;