|
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.opengion.hayabusa.db.AbstractRenderer
org.opengion.plugin.column.Renderer_ICON
public class Renderer_ICON
ICON レンデラーは、カラムのファイル名の拡張子からアイコンファイルのイメージタグを作成します。 イメージデータは、jsp/image/thumb を使用します。 実質的には、アイコンではなく、サムネイルとして利用します。 縦横比をそのままに、縦か横の最大値に画像サイズを合わせるには、 style="max-width:100; max-height:100;" をセットすることで対応できます。 class="ICON" 属性を出力しておきますので、CSSファイルで記述してください。 (例:)
<style type="text/css">
img.ICON { max-width:100px; max-height:100px; }
</style>
このクラスは、不変オブジェクトとして、共有されます。
| 5.6.5.1 (2013/06/14) 新規作成 |
| コンストラクタの概要 | |
|---|---|
Renderer_ICON()
|
|
| メソッドの概要 | |
|---|---|
java.lang.String |
getValue(java.lang.String value)
データの表示用文字列を返します。 |
CellRenderer |
newInstance(DBColumn clm)
各オブジェクトから自分のインスタンスを返します。 |
| クラス org.opengion.hayabusa.db.AbstractRenderer から継承されたメソッド |
|---|
getValue |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public Renderer_ICON()
| メソッドの詳細 |
|---|
public CellRenderer newInstance(DBColumn clm)
clm - DBColumnオブジェクト
public java.lang.String getValue(java.lang.String value)
CellRenderer 内の getValueAbstractRenderer 内の getValuevalue - 入力値
|
openGion 5.7.8.0 | ||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||