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 PageItem
Page. addCardFromTemplate(PageItem template)
Clone a PageItem and add the clone to the page; the new clone is returned.PageItem
DeckEditor. createStandardTile(java.lang.String name)
Creates an instance of the tile with the specified name.PageItem[]
Page. getAllCardsAtLocation(java.awt.geom.Point2D point)
PageItem
Page. getCard(int i)
PageItem
Page. getCardAtLocation(java.awt.geom.Point2D point)
PageItem[]
Page. getCards()
PageItem
Page. getCardToSnapTo(PageItem card, java.util.EnumSet<PageItem.SnapClass> snapToClass)
PageItem
Page. getOverlappedCard(PageItem card)
Returns the card with the highest Z-index that overlaps with this card, ornull
if 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 void
Page. addCard(PageItem pageItem)
Add a new PageItem to this page.void
Page. addCard(PageItem pageItem, boolean fit)
PageItem
Page. addCardFromTemplate(PageItem template)
Clone a PageItem and add the clone to the page; the new clone is returned.void
Deck. addToSelection(PageItem item)
Adds a page item to the current selection.void
PageView. addToSelection(PageItem card)
PageItem
Page. getCardToSnapTo(PageItem card, java.util.EnumSet<PageItem.SnapClass> snapToClass)
PageItem
Page. getOverlappedCard(PageItem card)
Returns the card with the highest Z-index that overlaps with this card, ornull
if the card does not overlap with any other card.java.awt.geom.Point2D
Page. getSnapPosition(PageItem[] cards)
Return the position that cards will snap to if snapped from their current position.boolean
Deck. isSelected(PageItem item)
Returnstrue
if the specified item is currently selected.boolean
PageView. isSelected(PageItem card)
void
Page. moveCardToBack(PageItem card)
void
Page. moveCardToFront(PageItem card)
static void
Tools. register(PageItem prototype)
Register a new tool to be listed in the Tools tab of the deck editor.void
Page. removeCard(PageItem card)
Remove a card from this page.void
Deck. removeFromSelection(PageItem item)
Removes a page item from the current selection.void
PageView. removeFromSelection(PageItem card)
void
PageView. repaint(PageItem item)
Repaints the part of the view covered by an item.void
Deck. setSelection(PageItem item)
Selects a single page item, clearing any existing selection.void
PageView. setSelection(PageItem card)
void
Page. snapCard(PageItem card)
Snap an item into place relative to the highest intersecting item, if any.void
Page. snapCard(PageItem[] cards)
Snaps a group of cards into place as a unit.static void
Tools. 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 void
DeckEditor. 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 interface
FlippablePageItem
Implemented by deck cards that allow themselves to be rotated in 90 degree increments and mirrored.interface
SizablePageItem
Implemented by items that can be resized.Classes in ca.cgjennings.apps.arkham.deck.item that implement PageItem Modifier and Type Class Description class
AbstractFlippableItem
An abstract base class for items that can be turned and flipped.class
AbstractItem
A base implementation of a non-resizeable, non-flippable page item.class
AbstractRenderedItem
An item whose visual representation is generated from a bitmap.class
CardFace
A page item representing one face of a game component.class
Curve
An page item representing a quadratic parametric curve segment.class
CustomTile
Resizable, customizable tiles that can be placed in a deck.class
Line
An page item representing a straight line segment.class
OutlinedTile
A tile with a static outline.class
RotatableTile
A tile that can be rotated to an arbitrary angle.class
TextBox
A text box is a rectangular page item that displays formatted markup text.class
Tile
The base class for tiles, which are static bitmap graphics that can be placed in a deck.class
TuckBox
The 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 PageItem
AbstractItem. clone()
PageItem
AbstractRenderedItem. clone()
PageItem
Line. clone()
PageItem
PageItem. clone()
Returns a new page item, using this item as a template.PageItem
RotatableTile. clone()
PageItem
TextBox. clone()
PageItem
DragHandle. 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 void
Group. add(PageItem p)
void
SimpleGroup. add(PageItem p)
boolean
Group. contains(PageItem p)
boolean
SimpleGroup. contains(PageItem p)
void
AbstractItem. customizePopupMenu(javax.swing.JPopupMenu menu, PageItem[] selection, boolean isSelectionFocus)
void
CardFace. customizePopupMenu(javax.swing.JPopupMenu menu, PageItem[] selection, boolean isSelectionFocus)
void
PageItem. customizePopupMenu(javax.swing.JPopupMenu menu, PageItem[] selection, boolean isSelectionFocus)
Allows a page item the opportunity to customize the popup menu before it is displayed.void
TextBox. customizePopupMenu(javax.swing.JPopupMenu menu, PageItem[] selection, boolean isSelectionFocus)
void
StyleEditor. initializeForSelection(PageItem[] sel)
boolean
AbstractItem. isTurned0DegreesFrom(PageItem rhs)
boolean
PageItem. isTurned0DegreesFrom(PageItem rhs)
Returnstrue
if this item has the same orientation rotation as another item.boolean
AbstractItem. isTurned180DegreesFrom(PageItem rhs)
boolean
PageItem. isTurned180DegreesFrom(PageItem rhs)
Returns true if this item's orientation is turned 180 degrees relative to another item.boolean
AbstractItem. isTurned90DegreesFrom(PageItem rhs)
boolean
PageItem. isTurned90DegreesFrom(PageItem rhs)
Returns true if this item's orientation is turned 90 degrees relative to another item.void
Group. remove(PageItem p)
void
SimpleGroup. remove(PageItem p)
static boolean
StyleEditor. selectionHasStyledItems(PageItem[] sel)
Returnstrue
if 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 void
Sheet.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 PageItem
TileSet.Entry. getPrototypeItem()
Returns the prototype page item for this tile set entry.
-