- Common ways to obtain ArrowPanel
private void myMethod () {}
/** * Returns a shape for the arrow. * * @param t the arrow type. * * @return the arrow shape. */ private Shape getArrow(final int t) { switch (t) { case UP : return getUpArrow(); case DOWN : return getDownArrow(); default : return getUpArrow(); } }
/** * Returns a shape for the arrow. * * @param t the arrow type. * * @return the arrow shape. */ private Shape getArrow(final int t) { switch (t) { case UP : return getUpArrow(); case DOWN : return getDownArrow(); default : return getUpArrow(); } }
/** * Returns a shape for the arrow. * * @param t the arrow type. * * @return the arrow shape. */ private Shape getArrow(final int t) { switch (t) { case UP : return getUpArrow(); case DOWN : return getDownArrow(); default : return getUpArrow(); } }