public abstract class XMLArea extends XMLElement implements IElement
XMLElement.AttrSetter, XMLElement.AttrSetters
修飾子とタイプ | フィールドと説明 |
---|---|
protected double |
DEFAULT_MARGIN
マージンの初期値
|
protected double |
dRotate |
protected boolean |
f_rate |
protected String |
init_value |
protected double |
margin_bottom
下のマージンを取る
|
protected double |
margin_end
右のマージンを取る
|
protected double |
margin_start
左のマージンを取る
|
protected double |
margin_top
上のマージンを取る
|
protected boolean |
mustGivenSize |
protected String |
sValue |
adjustX, adjustY, btVector, doDebugSetAttr, dRate, dVECTOR_HORIZON, dVECTOR_UNNONE, dVECTOR_VERTICAL, init_compress, init_height, init_is_height, init_is_width, init_rate, init_width, isHeight, isVersion, isWidth, ivAlignmentH, ivAlignmentV, ivChild, ivCompress, ivDH, ivDisplay, ivDW, ivDX, ivDY, ivHeight, ivLayer, ivName, ivParent, ivRateH, ivRateW, ivUnit, ivWidth, ivX, ivY, localX, localY, pdfdoc, sVector, utilUnit, xmldoc
コンストラクタと説明 |
---|
XMLArea()
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
calcAlignment()
継承先で実際のデータに合った位置調整を行う
|
void |
calcDataSize()
データのサイズを決定する
|
Object |
clone()
複製作成
|
void |
compressData(double rate,
boolean flg)
圧縮率に基づきコンポーネントを圧縮する
X,Y座標,幅,高さ,フォントサイズ
|
double |
getBottom()
下マージンを返す
|
double |
getEnd()
右マージンを返す
|
boolean |
getIsAddElement() |
String[] |
getParseValue(char pChar)
値をセットする
|
double |
getRotate()
文字列の回転角度を取得する
|
double |
getStart()
左マージンを返す
|
double |
getTop()
上マージンを返す
|
String |
getValue()
値を取得する
|
void |
initNode()
XMLから属性をを取得する。
|
void |
initNode(com.brainsellers.xml.data.XMLNode em)
XMLから属性をを取得する。
|
protected double |
isMax(double a,
double b) |
protected double |
isMin(double a,
double b) |
void |
load()
各値を初期状態に戻します。
|
void |
save()
各値を初期値として保存します。
|
void |
setBottom(double s)
文字下部位置の指定
|
void |
setBottom(String s)
文字下部位置の指定
|
void |
setEnd(double s)
文字終了位置の指定
|
void |
setEnd(String s)
文字終了位置の指定
|
void |
setIsAddElement(boolean isadd) |
void |
setMargin(String s)
マージンを設定する
省略時は左側マージンの1mm |
void |
setPageValues(Hashtable table)
複数のコンポーネントを操作する
|
void |
setPageValues(com.brainsellers.xml.datatypes.HashtableType table)
複数のコンポーネントを操作する
|
void |
setRotate(double d)
文字列の回転角度を設定する
|
void |
setRotate(String s)
文字列の回転角度を設定する
|
void |
setRotate(com.brainsellers.xml.data.XMLNode em)
文字列の回転角度を設定する
|
void |
setStart(double s)
文字開始位置の指定
|
void |
setStart(String s)
文字開始位置の指定
|
void |
setTop(double s)
文字上部位置の指定
|
void |
setTop(String s)
文字上部位置の指定
|
void |
setValue(String s)
値をセットする
|
void |
setValues(Hashtable table)
複数のコンポーネントを操作する
|
void |
setValues(com.brainsellers.xml.datatypes.HashtableType table)
複数のコンポーネントを操作する
|
addChild, calcDataHeight, calcDataWidth, checkUnit, clearChild, clearElement, createPDF, doubleValueOf, endProc, executeDataSource, getAdjustX, getAdjustY, getAlignmentH, getAlignmentV, getAttrSetters, getChild, getChild, getChilds, getCompress, getDH, getDisplay, getDW, getDX, getDY, getElementName, getHeight, getLayer, getLocalX, getLocalY, getName, getObject, getObjects, getParent, getParentX, getParentY, getPDFEngine, getRate, getRateHeight, getRateWidth, getRootVersion, getUnit, getVector, getWidth, getX, getXMLEngine, getY, insertChild, isDisplay, isEmpty, isImportedChiled, isOldLayout, isVector, iterator, load_document, load_system, parseInt, parseString, reset, setAdjustX, setAdjustY, setAlignmentH, setAlignmentH, setAlignmentV, setAlignmentV, setAttrs, setAttrSetters, setChild, setCompress, setCompress, setDH, setDisplay, setDisplay, setDW, setDX, setDY, setElementName, setHeight, setHeight, setHeight, setLayer, setName, setName, setParent, setParentElement, setParents, setPDFEngine, setPosition, setRate, setRate, setRate, setUnit, setUnit, setVector, setVersion, setVersion, setVersion, setWidth, setWidth, setWidth, setX, setX, setX, setXMLEngine, setY, setY, setY, showAttrSetters, showXMLElementTree, sizeChild, sizeObject, throwThrowable, toPDF
protected final double DEFAULT_MARGIN
protected double dRotate
protected boolean f_rate
protected String init_value
protected double margin_bottom
protected double margin_end
protected double margin_start
protected double margin_top
protected boolean mustGivenSize
protected String sValue
protected void calcAlignment()
XMLElement
calcAlignment
クラス内 XMLElement
public void calcDataSize() throws Exception
calcDataSize
クラス内 XMLElement
Exception
- 計算上の障害public Object clone() throws CloneNotSupportedException
clone
クラス内 XMLElement
CloneNotSupportedException
public void compressData(double rate, boolean flg)
compressData
クラス内 XMLElement
rate
- 圧縮率flg
- true:強制圧縮 false:任意圧縮public double getBottom()
public double getEnd()
public boolean getIsAddElement()
public String[] getParseValue(char pChar)
pChar
- 値public double getRotate()
public double getStart()
public double getTop()
public String getValue()
public void initNode()
initNode
インタフェース内 IElement
initNode
クラス内 XMLElement
public void initNode(com.brainsellers.xml.data.XMLNode em)
initNode
インタフェース内 IElement
initNode
クラス内 XMLElement
em
- XML情報protected double isMax(double a, double b)
protected double isMin(double a, double b)
public void load()
load
クラス内 XMLElement
public void save()
save
クラス内 XMLElement
public void setBottom(double s)
s
- 下マージンpublic void setBottom(String s)
s
- 下マージンpublic void setEnd(double s)
s
- 右マージンpublic void setEnd(String s)
s
- 右マージンpublic void setIsAddElement(boolean isadd)
public void setMargin(String s)
s
- マージン情報public void setPageValues(Hashtable table)
table
- 1行分又は1ページ分のデータpublic void setPageValues(com.brainsellers.xml.datatypes.HashtableType table)
table
- 1行分又は1ページ分のデータpublic void setRotate(double d)
d
- 回転角度public void setRotate(String s)
s
- 回転角度public void setRotate(com.brainsellers.xml.data.XMLNode em)
em
- XML情報public void setStart(double s)
s
- 左マージンpublic void setStart(String s)
s
- 左マージンpublic void setTop(double s)
s
- 上マージンpublic void setTop(String s)
s
- 上マージンpublic void setValue(String s)
s
- 値public void setValues(Hashtable table)
table
- 1行分又は1ページ分のデータpublic void setValues(com.brainsellers.xml.datatypes.HashtableType table)
table
- 1行分又は1ページ分のデータCopyright © 2023 BrainSellers.com Corp.. All rights reserved.