to.tetramorph.starbase.chartparts
クラス ZodiacPanel

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

public class ZodiacPanel
extends GPanel
implements Printable

ホロスコープの各部品をこのパネルにaddすることで、部品は描画され様々なイベント 処理を行うことができる。

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

入れ子のクラスの概要
 
クラス 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.chartparts.GPanel から継承されたフィールド
layoutList
 
クラス 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
 
コンストラクタの概要
ZodiacPanel()
          オブジェクトを作成する。
 
メソッドの概要
 void addPlanetRing(PlanetRing planetRing)
          PlanetRingを追加する。
 BufferedImage getBufferedImage(Dimension size)
          指定されたサイズのイメージバッファにホロスコープを描画して返す。
 double getRoll()
          ロール値を返す。
 void paintComponent(Graphics graphics)
          ホロスコープと天体リストを描画
 int print(Graphics graphics, PageFormat pf, int pageIndex)
          印刷用メソッドを実装
 void removePlanetRing(PlanetRing planetRing)
          指定されたPlanetRingを削除する。
 void reposition()
           
 void setAscendant(double ascendant)
          アセンダント値をセットする。
 void setAspectCircle(AspectCircle aspectCircle)
          アスペクト円をセットする。
 void setNatalData(Data data)
          チャートの名前・日時場所表示欄に表示するデータをセットする。
 void setRoll(double roll)
          ホロスコープ円全体の回転角をセット。
 void setTransit(Transit transit)
          トランジットの日時場所表示欄に表示するデータをセットする。
 void setViewMode(boolean b)
           
 void setZodiacRing(ZodiacRing zr)
          ZodiacRingをセットする。
 
クラス to.tetramorph.starbase.chartparts.GPanel から継承されたメソッド
addGLayout, contain, drawLayout, removeAllGLayout, removeGLayout, setBasePoint
 
クラス 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, 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, isFocusable, 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, toString, transferFocus, transferFocusUpCycle
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ZodiacPanel

public ZodiacPanel()
オブジェクトを作成する。

メソッドの詳細

setZodiacRing

public void setZodiacRing(ZodiacRing zr)
ZodiacRingをセットする。


setRoll

public void setRoll(double roll)
ホロスコープ円全体の回転角をセット。これによりホロスコープをひっくりかえして 見る事ができる。


getRoll

public double getRoll()
ロール値を返す。ホロスコープの見かけ上の回転角


setAscendant

public void setAscendant(double ascendant)
アセンダント値をセットする。


setAspectCircle

public void setAspectCircle(AspectCircle aspectCircle)
アスペクト円をセットする。


setNatalData

public void setNatalData(Data data)
チャートの名前・日時場所表示欄に表示するデータをセットする。ホロスコープ円 の表示には無関係で、円の右側にある情報一覧に出すデータ。


setTransit

public void setTransit(Transit transit)
トランジットの日時場所表示欄に表示するデータをセットする。 円の右側にある情報一覧に出すデータ。


paintComponent

public void paintComponent(Graphics graphics)
ホロスコープと天体リストを描画

オーバーライド:
クラス JComponent 内の paintComponent

getBufferedImage

public BufferedImage getBufferedImage(Dimension size)
指定されたサイズのイメージバッファにホロスコープを描画して返す。


print

public int print(Graphics graphics,
                 PageFormat pf,
                 int pageIndex)
印刷用メソッドを実装

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

setViewMode

public void setViewMode(boolean b)

addPlanetRing

public void addPlanetRing(PlanetRing planetRing)
PlanetRingを追加する。


removePlanetRing

public void removePlanetRing(PlanetRing planetRing)
指定されたPlanetRingを削除する。


reposition

public void reposition()