to.tetramorph.starbase.chartmodule
クラス ReportPlugin

java.lang.Object
  上位を拡張 java.awt.Component
      上位を拡張 java.awt.Container
          上位を拡張 javax.swing.JComponent
              上位を拡張 javax.swing.JPanel
                  上位を拡張 to.tetramorph.starbase.module.ChartModulePanel
                      上位を拡張 to.tetramorph.starbase.chartmodule.ReportPlugin
すべての実装されたインタフェース:
ImageObserver, MenuContainer, Printable, Serializable, Accessible

public class ReportPlugin
extends ChartModulePanel
implements Printable

天体位置やアスペクトやサビアン等、様々な占星術的情報をレポートする チャートモジュール。 2011-08-03 フォントを「メイリオ」に変更。フォントサイズを極力相対値で指定 するようにした。

関連項目:
直列化された形式

入れ子のクラスの概要
 
クラス javax.swing.JPanel から継承された入れ子のクラス/インタフェース
JPanel.AccessibleJPanel
 
クラス javax.swing.JComponent から継承された入れ子のクラス/インタフェース
JComponent.AccessibleJComponent
 
クラス java.awt.Container から継承された入れ子のクラス/インタフェース
Container.AccessibleAWTContainer
 
クラス java.awt.Component から継承された入れ子のクラス/インタフェース
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
フィールドの概要
 
クラス to.tetramorph.starbase.module.ChartModulePanel から継承されたフィールド
config, iframe, parentFrame
 
クラス javax.swing.JComponent から継承されたフィールド
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
クラス java.awt.Component から継承されたフィールド
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
インタフェース java.awt.print.Printable から継承されたフィールド
NO_SUCH_PAGE, PAGE_EXISTS
 
インタフェース java.awt.image.ImageObserver から継承されたフィールド
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
コンストラクタの概要
ReportPlugin()
           
 
メソッドの概要
 BufferedImage getBufferedImage(Dimension size)
          チャートの画像を返す。
 String[] getChannelNames()
          チャンネル(複数)の名前を返す。
 int getChannelSize()
          このモジュールがいくつチャンネルをもっているか返す。
 DictionaryActionFile getDictionaryAction()
          このプラグイン用の辞書アクションファイルのURLを返す。
 Printable getPainter()
          印刷用メソッドPrintable#print()を実装したコンポーネントを返す。
 PrintRequestAttributeSet getPrintRequestAttributeSet()
          このモジュールは縦向き印刷がデフォルトである。
 CustomizePanel getSpecificCustomizePanel()
          このモジュール用の仕様設定パネルを返す。
 void init()
          占星術レポート用のチャートモジュールオブジェクトを作成する。
 boolean isAnimationActivated()
          このモジュールはマニューバによるアニメーション操作は禁止。
 boolean isFixedImageSize()
          このプラグインのイメージをコピペはできるが、サイズは可変できない。
 boolean isImageServiceActivated()
          このプラグインは画像を返す機能を実装していて、このメソッドはtrueを返す。
 boolean isNeedTransit()
          トランジットチャンネルを必要としてるモジュールならtrueを返す。
 boolean isPrintable()
          このモジュールが印刷機能をサポートする場合はtrueを返す。
 int print(Graphics g1, PageFormat pf, int pageIndex)
          印刷機能。
 void setData(ChannelData channelData)
          与えられたNatalから天体位置を求め占星術的基本情報をレポートする。
 String toString()
           
 void updateSpecificSetting()
          仕様設定が変更されたときに呼び出される。
 
クラス to.tetramorph.starbase.module.ChartModulePanel から継承されたメソッド
getChartConfig, getClassName, getColorCustomizePanel, getDefaultColor, getDefaultSpecific, getDictionary, getHeightPer, getModuleMode, getModuleModes, getSabianDialogHandler, getSpecificMenuList, getViewMenuList, isFocusable, setCommand, setConstructArgs, setCustomizeListeners, setDefaultColor, setDefaultSpecific, setModuleMode, showColorCustomizeDialog, showSpecificCustomizeDialog, updateColorSetting
 
クラス javax.swing.JPanel から継承されたメソッド
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
クラス javax.swing.JComponent から継承されたメソッド
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
クラス java.awt.Container から継承されたメソッド
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
クラス java.awt.Component から継承されたメソッド
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ReportPlugin

public ReportPlugin()
メソッドの詳細

init

public void init()
占星術レポート用のチャートモジュールオブジェクトを作成する。

オーバーライド:
クラス ChartModulePanel 内の init

getSpecificCustomizePanel

public CustomizePanel getSpecificCustomizePanel()
このモジュール用の仕様設定パネルを返す。

オーバーライド:
クラス ChartModulePanel 内の getSpecificCustomizePanel

setData

public void setData(ChannelData channelData)
与えられたNatalから天体位置を求め占星術的基本情報をレポートする。 複数のNatalが与えられても最初の一つだけが認識され残りは無視される。

定義:
クラス ChartModulePanel 内の setData
パラメータ:
channelData - チャンネルデータ

updateSpecificSetting

public void updateSpecificSetting()
仕様設定が変更されたときに呼び出される。 updateColorSetting()の次に呼び出される。

オーバーライド:
クラス ChartModulePanel 内の updateSpecificSetting

getBufferedImage

public BufferedImage getBufferedImage(Dimension size)
チャートの画像を返す。サイズ無視される。

オーバーライド:
クラス ChartModulePanel 内の getBufferedImage
パラメータ:
size - 要求画像サイズを指定

isImageServiceActivated

public boolean isImageServiceActivated()
このプラグインは画像を返す機能を実装していて、このメソッドはtrueを返す。 実装していない場合はfalseを返す。

オーバーライド:
クラス ChartModulePanel 内の isImageServiceActivated

isFixedImageSize

public boolean isFixedImageSize()
このプラグインのイメージをコピペはできるが、サイズは可変できない。

オーバーライド:
クラス ChartModulePanel 内の isFixedImageSize

print

public int print(Graphics g1,
                 PageFormat pf,
                 int pageIndex)
印刷機能。表示されているHTMLをかならず用紙サイズに収まるように縮小して 印刷する。

定義:
インタフェース Printable 内の print

getPainter

public Printable getPainter()
クラス ChartModulePanel の記述:
印刷用メソッドPrintable#print()を実装したコンポーネントを返す。 デフォルトではnullを返すので、印刷機能をサポートするプラグインは オーバーライドし、機能を実装する。

オーバーライド:
クラス ChartModulePanel 内の getPainter

isPrintable

public boolean isPrintable()
クラス ChartModulePanel の記述:
このモジュールが印刷機能をサポートする場合はtrueを返す。

オーバーライド:
クラス ChartModulePanel 内の isPrintable

toString

public String toString()
オーバーライド:
クラス Component 内の toString

isNeedTransit

public boolean isNeedTransit()
クラス ChartModulePanel の記述:
トランジットチャンネルを必要としてるモジュールならtrueを返す。 falseにするとTimePanelのトランジットタブがDisenabledになる。

定義:
クラス ChartModulePanel 内の isNeedTransit

getChannelSize

public int getChannelSize()
クラス ChartModulePanel の記述:
このモジュールがいくつチャンネルをもっているか返す。TimePanelはこの値 を元に切替スイッチ(日時場所データをどの何番目の円にストアするかの切替)を 用意する。 二重円なら、二つ。三重円でプログレスつきなら、二つ。三重円にそれぞれネイタル を入れるなら三つ。二重円でネイタルとプログレスというなら一つ。

定義:
クラス ChartModulePanel 内の getChannelSize

getChannelNames

public String[] getChannelNames()
クラス ChartModulePanel の記述:
チャンネル(複数)の名前を返す。getChannelSize()が返す数と同じ要素数でなけれ ばならない。[0]から第一チャンネルと続く。

定義:
クラス ChartModulePanel 内の getChannelNames

getPrintRequestAttributeSet

public PrintRequestAttributeSet getPrintRequestAttributeSet()
このモジュールは縦向き印刷がデフォルトである。 印刷の際の用紙の向き、印刷部数などを定義したハッシュセットを返す。 isPrintable()がfalseのときはnullを返す。

オーバーライド:
クラス ChartModulePanel 内の getPrintRequestAttributeSet

isAnimationActivated

public boolean isAnimationActivated()
このモジュールはマニューバによるアニメーション操作は禁止。

オーバーライド:
クラス ChartModulePanel 内の isAnimationActivated

getDictionaryAction

public DictionaryActionFile getDictionaryAction()
クラス ChartModulePanel の記述:
このプラグイン用の辞書アクションファイルのURLを返す。 アクションは所定のXMLで記述されたファイル。デフォルトではnullを返す。 必要に応じてオーバーライドする。

オーバーライド:
クラス ChartModulePanel 内の getDictionaryAction