Uses of Interface
ca.cgjennings.apps.arkham.deck.item.PageItem
-
Packages that use PageItem Package Description ca.cgjennings.apps.arkham.deck ca.cgjennings.apps.arkham.deck.item ca.cgjennings.apps.arkham.project ca.cgjennings.apps.arkham.sheet gamedata -
-
Uses of PageItem in ca.cgjennings.apps.arkham.deck
Methods in ca.cgjennings.apps.arkham.deck that return PageItem Modifier and Type Method Description PageItemPage. addCardFromTemplate(PageItem template)Clone a PageItem and add the clone to the page; the new clone is returned.PageItemDeckEditor. createStandardTile(java.lang.String name)Creates an instance of the tile with the specified name.PageItem[]Page. getAllCardsAtLocation(java.awt.geom.Point2D point)PageItemPage. getCard(int i)PageItemPage. getCardAtLocation(java.awt.geom.Point2D point)PageItem[]Page. getCards()PageItemPage. getCardToSnapTo(PageItem card, java.util.EnumSet<PageItem.SnapClass> snapToClass)PageItemPage. getOverlappedCard(PageItem card)Returns the card with the highest Z-index that overlaps with this card, ornullif the card does not overlap with any other card.static PageItem[]Tools. getRegisteredTools()Returns the prototypes of all currently registered tools, in order of registration.PageItem[]Deck. getSelection()Returns the members of the current selection as a possibly empty array.Methods in ca.cgjennings.apps.arkham.deck with parameters of type PageItem Modifier and Type Method Description voidPage. addCard(PageItem pageItem)Add a new PageItem to this page.voidPage. addCard(PageItem pageItem, boolean fit)PageItemPage. addCardFromTemplate(PageItem template)Clone a PageItem and add the clone to the page; the new clone is returned.voidDeck. addToSelection(PageItem item)Adds a page item to the current selection.voidPageView. addToSelection(PageItem card)PageItemPage. getCardToSnapTo(PageItem card, java.util.EnumSet<PageItem.SnapClass> snapToClass)PageItemPage. getOverlappedCard(PageItem card)Returns the card with the highest Z-index that overlaps with this card, ornullif the card does not overlap with any other card.java.awt.geom.Point2DPage. getSnapPosition(PageItem[] cards)Return the position that cards will snap to if snapped from their current position.booleanDeck. isSelected(PageItem item)Returnstrueif the specified item is currently selected.booleanPageView. isSelected(PageItem card)voidPage. moveCardToBack(PageItem card)voidPage. moveCardToFront(PageItem card)static voidTools. register(PageItem prototype)Register a new tool to be listed in the Tools tab of the deck editor.voidPage. removeCard(PageItem card)Remove a card from this page.voidDeck. removeFromSelection(PageItem item)Removes a page item from the current selection.voidPageView. removeFromSelection(PageItem card)voidPageView. repaint(PageItem item)Repaints the part of the view covered by an item.voidDeck. setSelection(PageItem item)Selects a single page item, clearing any existing selection.voidPageView. setSelection(PageItem card)voidPage. snapCard(PageItem card)Snap an item into place relative to the highest intersecting item, if any.voidPage. snapCard(PageItem[] cards)Snaps a group of cards into place as a unit.static voidTools. unregister(PageItem prototype)Removes a tool from the list of registered tools.Method parameters in ca.cgjennings.apps.arkham.deck with type arguments of type PageItem Modifier and Type Method Description voidDeckEditor. addCards(java.util.List<PageItem> cards) -
Uses of PageItem in ca.cgjennings.apps.arkham.deck.item
Subinterfaces of PageItem in ca.cgjennings.apps.arkham.deck.item Modifier and Type Interface Description interfaceFlippablePageItemImplemented by deck cards that allow themselves to be rotated in 90 degree increments and mirrored.interfaceSizablePageItemImplemented by items that can be resized.Classes in ca.cgjennings.apps.arkham.deck.item that implement PageItem Modifier and Type Class Description classAbstractFlippableItemAn abstract base class for items that can be turned and flipped.classAbstractItemA base implementation of a non-resizeable, non-flippable page item.classAbstractRenderedItemAn item whose visual representation is generated from a bitmap.classCardFaceA page item representing one face of a game component.classCurveAn page item representing a quadratic parametric curve segment.classCustomTileResizable, customizable tiles that can be placed in a deck.classLineAn page item representing a straight line segment.classOutlinedTileA tile with a static outline.classRotatableTileA tile that can be rotated to an arbitrary angle.classTextBoxA text box is a rectangular page item that displays formatted markup text.classTileThe base class for tiles, which are static bitmap graphics that can be placed in a deck.classTuckBoxThe tuck box item is used to create tuck boxes (or other fold-up boxes).Methods in ca.cgjennings.apps.arkham.deck.item that return PageItem Modifier and Type Method Description PageItemAbstractItem. clone()PageItemAbstractRenderedItem. clone()PageItemLine. clone()PageItemPageItem. clone()Returns a new page item, using this item as a template.PageItemRotatableTile. clone()PageItemTextBox. clone()PageItemDragHandle. getOwner()Methods in ca.cgjennings.apps.arkham.deck.item that return types with arguments of type PageItem Modifier and Type Method Description java.util.Iterator<PageItem>Group. iterator()java.util.Iterator<PageItem>SimpleGroup. iterator()Methods in ca.cgjennings.apps.arkham.deck.item with parameters of type PageItem Modifier and Type Method Description voidGroup. add(PageItem p)voidSimpleGroup. add(PageItem p)booleanGroup. contains(PageItem p)booleanSimpleGroup. contains(PageItem p)voidAbstractItem. customizePopupMenu(javax.swing.JPopupMenu menu, PageItem[] selection, boolean isSelectionFocus)voidCardFace. customizePopupMenu(javax.swing.JPopupMenu menu, PageItem[] selection, boolean isSelectionFocus)voidPageItem. customizePopupMenu(javax.swing.JPopupMenu menu, PageItem[] selection, boolean isSelectionFocus)Allows a page item the opportunity to customize the popup menu before it is displayed.voidTextBox. customizePopupMenu(javax.swing.JPopupMenu menu, PageItem[] selection, boolean isSelectionFocus)voidStyleEditor. initializeForSelection(PageItem[] sel)booleanAbstractItem. isTurned0DegreesFrom(PageItem rhs)booleanPageItem. isTurned0DegreesFrom(PageItem rhs)Returnstrueif this item has the same orientation rotation as another item.booleanAbstractItem. isTurned180DegreesFrom(PageItem rhs)booleanPageItem. isTurned180DegreesFrom(PageItem rhs)Returns true if this item's orientation is turned 180 degrees relative to another item.booleanAbstractItem. isTurned90DegreesFrom(PageItem rhs)booleanPageItem. isTurned90DegreesFrom(PageItem rhs)Returns true if this item's orientation is turned 90 degrees relative to another item.voidGroup. remove(PageItem p)voidSimpleGroup. remove(PageItem p)static booleanStyleEditor. selectionHasStyledItems(PageItem[] sel)Returnstrueif the specified selection of items contains at least one item with editable style information.Constructors in ca.cgjennings.apps.arkham.deck.item with parameters of type PageItem Constructor Description DragHandle(PageItem owner)SimpleGroup(PageItem[] items)StyleCapture(PageItem item)Creates a new style capture whose initial state is a capture of the specified items.StyleCapture(PageItem... items)Creates a new style capture whose initial state is a capture of the specified items.Constructor parameters in ca.cgjennings.apps.arkham.deck.item with type arguments of type PageItem Constructor Description SimpleGroup(java.util.Collection<? extends PageItem> items)StyleCapture(java.util.Collection<? extends PageItem> items)Creates a new style capture whose initial state is a capture of the specified items. -
Uses of PageItem in ca.cgjennings.apps.arkham.project
Constructors in ca.cgjennings.apps.arkham.project with parameters of type PageItem Constructor Description Card(java.io.File f, int index, java.lang.String klass, PageItem front, PageItem back) -
Uses of PageItem in ca.cgjennings.apps.arkham.sheet
Methods in ca.cgjennings.apps.arkham.sheet with parameters of type PageItem Modifier and Type Method Description voidSheet.DeckSnappingHint. apply(PageItem item)Applies this hint to the snapping behaviour of a page item. -
Uses of PageItem in gamedata
Methods in gamedata that return PageItem Modifier and Type Method Description PageItemTileSet.Entry. getPrototypeItem()Returns the prototype page item for this tile set entry.
-