gcc/libjava/javax/swing/plaf/TextUI.java
Bryce McKinlay 7bde45b2eb AWT/Swing merge from GNU Classpath.
From-SVN: r56147
2002-08-09 05:26:17 +01:00

27 lines
976 B
Java

package javax.swing.plaf;
import javax.swing.text.*;
import java.awt.*;
public abstract class TextUI extends ComponentUI
{
public TextUI()
{
}
public abstract void damageRange(JTextComponent t, int p0, int p1);
public abstract void damageRange(JTextComponent t, int p0, int p1, Position.Bias firstBias, Position.Bias secondBias);
public abstract EditorKit getEditorKit(JTextComponent t);
public abstract int getNextVisualPositionFrom(JTextComponent t,
int pos,
Position.Bias b,
int direction,
Position.Bias[] biasRet);
public abstract View getRootView(JTextComponent t);
public abstract Rectangle modelToView(JTextComponent t, int pos);
public abstract Rectangle modelToView(JTextComponent t, int pos, Position.Bias bias);
public abstract int viewToModel(JTextComponent t, Point pt);
public abstract int viewToModel(JTextComponent t, Point pt, Position.Bias[] biasReturn);
}