|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.util.xml.renderer.html.HTMLObject
public class HTMLObject
フィールドの概要 | |
---|---|
protected java.awt.Color |
background_
|
protected java.awt.Color |
foreground_
|
protected double |
height_
|
protected java.lang.String |
html_text
|
protected boolean |
init_
|
boolean |
is_mouse_over_
|
protected double |
margin_bottom_
|
protected double |
margin_left_
|
protected double |
margin_right_
|
protected double |
margin_up_
|
protected double |
now_y_
|
protected double |
offset_x_
|
protected double |
offset_y_
|
protected double |
preferred_height_
|
protected boolean |
preferred_location_
|
protected double |
preferred_width_
|
protected double |
preferred_x_
|
protected double |
preferred_y_
|
java.awt.geom.Rectangle2D |
rect_
|
protected double |
width_
|
protected double |
write_point_x_
|
protected double |
write_point_y_
|
protected double |
x_
|
protected double |
y_
|
コンストラクタの概要 | |
---|---|
HTMLObject()
|
メソッドの概要 | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener)
|
static void |
alert(javax.swing.JComponent parent,
java.lang.Object message)
|
static void |
alert(java.lang.Object message)
|
Element |
allowElement(Element element)
called when element is detected. |
boolean |
checkEndTag()
if true, check open tag key and close tag key. |
void |
debug(java.lang.String message)
|
void |
doLayout()
|
void |
doRenderer()
|
void |
draw(java.awt.Graphics g)
|
void |
fireChanged()
|
boolean |
forceEmptyTag(java.lang.String key)
Basicly, all the tag must open and close. |
double |
getHeight()
|
ParserPolicy |
getInnerPolicy(Element element)
return handler that handle this element |
double |
getPreferredHeight()
|
double |
getPreferredWidth()
|
double |
getPreferredX()
|
double |
getPreferredY()
|
double |
getWidth()
|
double |
getX()
|
double |
getY()
|
boolean |
hit(double x,
double y)
|
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseDragged(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent e)
|
void |
paint(java.awt.Graphics g)
|
java.lang.String |
selectEncoding(java.lang.String last_tag_key)
if encoding cannot be detected by first line of document, this method will be called. |
void |
setBackground(java.awt.Color background)
|
void |
setForeground(java.awt.Color foreground)
|
void |
setLocation(double x,
double y)
|
void |
setPreferredLocation(double x,
double y)
|
void |
setPreferredSize(double width,
double height)
|
void |
setSize(double width,
double height)
|
Element |
startElement(Element element)
|
boolean |
throwExceptionIfDocumentHasError()
Throw exception if document has error. |
void |
write(HTMLObject html_object)
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected boolean init_
protected double preferred_width_
protected double preferred_height_
protected double preferred_x_
protected double preferred_y_
protected double offset_x_
protected double offset_y_
protected boolean preferred_location_
protected double width_
protected double height_
protected double x_
protected double y_
protected java.awt.Color background_
protected java.awt.Color foreground_
public boolean is_mouse_over_
protected double write_point_x_
protected double write_point_y_
protected double margin_up_
protected double margin_bottom_
protected double margin_right_
protected double margin_left_
protected java.lang.String html_text
protected double now_y_
public java.awt.geom.Rectangle2D rect_
コンストラクタの詳細 |
---|
public HTMLObject()
メソッドの詳細 |
---|
public static void alert(java.lang.Object message)
public static void alert(javax.swing.JComponent parent, java.lang.Object message)
public boolean hit(double x, double y)
public void addChangeListener(javax.swing.event.ChangeListener listener)
public void fireChanged()
public void mousePressed(java.awt.event.MouseEvent e)
public void mouseReleased(java.awt.event.MouseEvent e)
public void mouseClicked(java.awt.event.MouseEvent e)
public void mouseEntered(java.awt.event.MouseEvent e)
public void mouseExited(java.awt.event.MouseEvent e)
public void mouseMoved(java.awt.event.MouseEvent e)
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
public void mouseDragged(java.awt.event.MouseEvent e)
public void setBackground(java.awt.Color background)
public void setForeground(java.awt.Color foreground)
public void setPreferredSize(double width, double height)
public void setPreferredLocation(double x, double y)
public double getPreferredWidth()
public double getPreferredHeight()
public double getPreferredX()
public double getPreferredY()
public double getX()
public double getY()
public double getWidth()
public double getHeight()
public void setLocation(double x, double y)
public void setSize(double width, double height)
public void paint(java.awt.Graphics g)
public void doLayout()
public void doRenderer()
public void write(HTMLObject html_object)
public void draw(java.awt.Graphics g)
public void debug(java.lang.String message)
public boolean throwExceptionIfDocumentHasError()
ParserPolicy
の記述:
ParserPolicy
内の throwExceptionIfDocumentHasError
public boolean checkEndTag()
ParserPolicy
の記述:
ParserPolicy
内の checkEndTag
public ParserPolicy getInnerPolicy(Element element)
ParserPolicy
の記述:
ParserPolicy
内の getInnerPolicy
public java.lang.String selectEncoding(java.lang.String last_tag_key)
ParserPolicy
の記述:
ParserPolicy
内の selectEncoding
public boolean forceEmptyTag(java.lang.String key)
ParserPolicy
の記述:
ParserPolicy
内の forceEmptyTag
public Element startElement(Element element)
public Element allowElement(Element element)
ParserPolicy
の記述:
ParserPolicy
内の allowElement
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |