summaryrefslogtreecommitdiffstats
path: root/libjava/javax/swing/text/ViewFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/text/ViewFactory.java')
-rw-r--r--libjava/javax/swing/text/ViewFactory.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/libjava/javax/swing/text/ViewFactory.java b/libjava/javax/swing/text/ViewFactory.java
index 1fef6bceb96..52be67ba557 100644
--- a/libjava/javax/swing/text/ViewFactory.java
+++ b/libjava/javax/swing/text/ViewFactory.java
@@ -1,5 +1,5 @@
/* ViewFactory.java --
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,5 +39,12 @@ package javax.swing.text;
public interface ViewFactory
{
+ /**
+ * Creates a view for a given element.
+ *
+ * @param elem them element to create view for
+ *
+ * @return a new created view
+ */
View create (Element elem);
}
OpenPOWER on IntegriCloud